当前位置: 代码迷 >> org.hibernate.exception.DataException.html的解决方案
 
  • Exception in thread "main" java.lang.IllegalAccessError:

    eclipse初次做hibernate实验执行测试文件的时候报错信息:Readingmappingsfromresource:com/bjsxt/hibernate/model/Student.hbm.xmlExceptioninthread"main"java.lang.IllegalAccessError:triedtoaccessfieldorg.hibernate.cf...

    629
    热度
  • at org.springframework.web.context.ContextLoaderListener.

    java.sql.SQLException:不支持的特性项目启动的时候,报如下错误是哪里的问题java.sql.SQLException:不支持的特性 atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError....

    264
    热度
  • hibernate annotation 有关问题

    hibernateannotation问题我原先加的是这三个包[b]"hibernate-annotations.jar,hibernate-commons-annotations.jar,ejb3-persistence.jar"(hibernate-ejb3-persistence.jar我也试过),现在换成了"hibernate-annotations.jar,...

    252
    热度
  • hibernate中的save有关问题

    hibernate中的save问题javax.servlet.ServletException:org.springframework.dao.InvalidDataAccessApiUsageException'>org.springframework.dao.InvalidDataAccessApiUsageException:com.entity.User;nestedexceptionis...

    75
    热度
  • Hibernate中list映射~

    急!!Hibernate中list映射~~在线等我需要记录我插入的顺序这个功能,所以我用list映射。简单写了个Demo.数据库a表id,name两个字段b表id,a_id,type,indexnum四个字段其中indexnum由hibernate维护POJOpublicclassBbbb{ privateIntegerid; privateStringtype; privateAaaaa;}p...

    6349
    热度
  • Hibernate 映射有关问题

    Hibernate映射问题Exceptioninthread"main"org.hibernate.InvalidMappingException'>org.hibernate.InvalidMappingException:Couldnotparsemappingdocumentfromresourcecom/sh/ideal/pojo/Customer.hbm.xml at...

    9716
    热度
  • hibernate获取SessionFactory失败 咋办?解决办法

    hibernate获取SessionFactory失败咋办?如题代码:Javacodepackagecom.test.tree.client;importorg.hibernate.cfg.Configuration;importorg.hibernate.Session;importorg.hibernate.SessionFactory;importcom.test.pojo.Book;pub...

    6042
    热度
  • org.springframework.beans.factory.BeanCreationException:解决方案

    org.springframework.beans.factory.BeanCreationException:启动tomcat之后就报错!求大神解决!严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListener'>or...

    56
    热度
  • spring与hibernate的有关问题?

    spring与hibernate的问题????org.hibernate.exception.ConstraintViolationException'>org.hibernate.exception.ConstraintViolationException:couldnotinsert:[com.bjsxt.model.User] atorg.hibernate.exception.SQLSta...

    37
    热度
  • spring 接管hibernate 事物 失败

    求助spring接管hibernate事物失败Exceptioninthread"main"org.hibernate.HibernateException'>org.hibernate.HibernateException:createQueryisnotvalidwithoutactivetransaction atorg.hibernate.context.ThreadLocalSessio...

    606
    热度
  • hibernate 执行插入时报错

    hibernate执行插入时报错 很奇怪,执行所有表的增加时都没有报错,唯独这个报错。这是什么原因啊?在网上也找了些,可是都不对!有人说把IDENTITY_INSERT设置为ON时,那在哪里设置呢?怎么设置啊?更奇怪的是任何值都不设置,直接插入对象,居然还报错。而且还是一样的效果。我的Action类 publicclassSendCommentsActionexten...

    389
    热度
  • hibernate运行有关问题,初学,求帮忙

    急!!在线等,hibernate运行问题,初学,求帮忙出现以下异常Exceptioninthread"main"org.hibernate.InvalidMappingException'>org.hibernate.InvalidMappingException:Couldnotparsemappingdocumentfromresourcecn/itcast/hibernate/User.hb...

    24
    热度
  • Hibernate执行SQL语句报语法异常

    Hibernate执行SQL语句报语法错误谁知道hibernate在执行操作触发器sql语句代码时报语法错误,但是sql语句在mySQL中能正确执行,错误的原因在哪?(执行的方法为createSQLQuery(sql);)报错信息:org.hibernate.exception.SQLGrammarException'>org.hibernate.exception.SQLGrammarExcep...

    175
    热度
  • 加载Hibernate的报错了,求解。解决办法

    加载Hibernate的报错了,求解。加载Hibernate的报错了,求解。Causedby:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'pmTransactionManager'definedinServletContextresource[/pm/conf/pm_spring...

    4172
    热度
  • 新手,hibernate配置有关问题

    新手,hibernate配置问题本帖最后由luoning1217于2012-11-1314:50:29编辑想用hibernate连sqlserver2005express用的最新版hibernate4.1.8主配置文件如下:<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEhibernate-configurationPUBLIC "-//...

    70
    热度
  • org.springframework.dao.DataIntegrityViolationException: could not

    Hibernate插入与删除数据的问题首先说明表关系:Chickling为外键表;ChicklingManufecturer为主键表;外键表ManufecturerNumber字段与主键表关联;XMLcode<many-to-onename="chicklingManufecturer"class="manufecturerPojo.ChicklingManuf...

    480
    热度
  • hibernate 课程

    hibernate教程 原理: http://wenku.baidu.com/view/3f2848eef8c75fbfc77db231.html ? ? 实践: 结合两个例子实践: ? http://developer.51cto.com/art/200906/126554.htm http://wenku.baidu.com/view/3182112acfc789eb172dc886.html...

    627
    热度
  • hibernate-4.1.7+struts2有关问题(求解)

    hibernate-4.1.7+struts2问题(求解)使用了最新的struts和hibernate,前台页面页面报错,错误信息为typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionjava.lang....

    264
    热度
  • 配置hibernate 二级缓存总是出有关问题

    配置hibernate二级缓存总是出问题配置hibernate二级缓存总是出问题:Exceptioninthread"main"java.lang.ExceptionInInitializerError atcom.linhao.hibernate.CacheTest.addUser(CacheTest.java:25) atcom.linhao.hibernate.Cache...

    41
    热度
  • Struts 二 + Spring + Hibernate integration example

    Struts2+Spring+Hibernateintegrationexample http://www.mkyong.com/struts2/struts-2-spring-hibernate-integration-example/ http://blog.newitfarmer.com/j2ee/spring3/556/java-struts2-spring-hibernate-ecl...

    564
    热度