-
hibernate dialect 有关问题
hibernatedialect问题2008-10-111:04:24org.hibernate.connection.UserSuppliedConnectionProviderconfigure警告:Noconnectionpropertiesspecified-theusermustsupplyJDBCconnectionsorg.hibernate.HibernateException:H...
43
热度 -
org.postgresql.Driver的bean类[org.springframework.jdbc.datasource.DriverManagerDataSource]的无效属性'
问题描述 我正在尝试将JPASpringDataFramework与Hibernate和PSQL一起使用,卡在此错误上stackoverflow要我在这里写smtstackoverflow要我在这里写smtstackoverflow要我在这里写smtstackoverflow要我在这里写smtstackoverflow要我在这里写在这里 java.lang.IllegalStateExcepti...
68
热度 -
hibernate聚合类型映射
hibernate集合类型映射Set无序元素不可重复List有序元素可重复Bag无序元素可重复Map键值对Student:packagemodel;importjava.util.Set;publicclassStudent{privatelongid;privateStringname;privateSet<String>images;publiclonggetId(){return...
47
热度 -
!Hibernate事务与saveOfUpdate冲突
求救!Hibernate事务与saveOfUpdate冲突adifferentobjectwiththesameidentifiervaluewasalreadyassociatedwiththesession:[com.sie.gqgx.model.CompanyChangeLogMid#1640016];nestedexceptionisorg.hibernate.NonUniqueObjec...
78
热度 -
怎么提高hibernate性能
如何提高hibernate性能 ? 在一个拥有单独业务层的应用中,业务层必须在返回之前,为web层“准备”好其所需的数据集合。这就意味着业务层应该载入所有表现层/web层所需的数据,并将这些已实例化完毕的数据返回。通常,应用程序应该为web层所需的每个集合调用Hibernate.initialize()(这个调用必须发生咱session关闭之前);或者使用带有FETCH从句,或FetchMode...
491
热度 -
hibernate映射有关问题?
hibernate映射问题??求大神解决!!错误:Exceptioninthread"main"org.hibernate.MappingException.html'>org.hibernate.MappingException:Unknownentity:com.hibernate.model.StudentStudent.hbm.xml:<?xmlversion="1.0"encodi...
93
热度 -
org.springframework.beans.factory.BeanCreationException: Error creating bean wit,该怎么处理
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwit首先是persistence.xml<?xmlversion="1.0"encoding="UTF-8"?><persistenceversion="2.0" xmlns="http://java.sun.com/xml/ns/p...
62
热度 -
org.springframework.beans.factory.NoSuchBeanDefinitionException
SSH做登录出现Nobeannamed'/login'isdefinedjavax.servlet.ServletException:Nobeannamed'/login'isdefined org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts....
279
热度 -
org.apache.catalina.loader.WebappClassLoader.loadClass(
JDK与tomcat匹配吗?初学者,求助:我安装的是jdk-1_5_0_07-windows-i586-p.exejakarta-tomcat-5.5.9.exe这两个可以匹配吗?测试来看好像能用,但是再做东西时出现下面的错误提示,是为什么?谢谢!!descriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfilli...
741
热度 -
hibernate获取SessionFactory失败 咋办?解决办法
hibernate获取SessionFactory失败咋办?如题代码:Javacodepackagecom.test.tree.client;importorg.hibernate.cfg.Configuration;importorg.hibernate.Session;importorg.hibernate.SessionFactory;importcom.test.pojo.Book;pub...
6042
热度 -
7、org.springframework.dao.TransientDataAccessResourceException
七、org.springframework.dao.TransientDataAccessResourceExceptionHTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exception...
7303
热度 -
hibernate 求助
hibernate求助 我的数据库中有多个表有对应关系,结构如下--学生信息表createtablestudent(stuIdintidentity(1,1)primarykey,stuNamevarchar(20)notnull,subjectIdintnotnull,--引用的Subject表的subjectIdparticularIdintnotnull,--引用...
428
热度 -
org.eclipse.update.core解决思路
org.eclipse.update.core最近RCP打产品发现不能自动更新,查下自己的Eclipse4.3中没有org.eclipse.update.core这个插件,请问谁知道这个插件的(Eclipse>>Install)下载地址?color='#FF8000'>------解决方案--------------------跟这个插件无关
80
热度 -
org.apache.commons.dbcp.BasicDataSource;
org.apache.commons.dbcp.BasicDataSource; org.apache.commons.dbcp.BasicDataSource; 这句话一导入就引发错误是jar的问题吗》 color='#FF8000'>----------------解决方案----------------------------------...
730
热度 -
初学者请教hibernate连接sysbase问题
初学者请教hibernate连接sysbase问题 log4j:WARNNoappenderscouldbefoundforlogger(org.hibernate.cfg.Environment). log4j:WARNPleaseinitializethelog4jsystemproperly. Hibernate:insertintousers(name,birt...
418
热度 -
spring与hibernate的有关问题?
spring与hibernate的问题????org.hibernate.exception.ConstraintViolationException'>org.hibernate.exception.ConstraintViolationException:couldnotinsert:[com.bjsxt.model.User] atorg.hibernate.exception.SQLSta...
37
热度 -
Hibernate Annotation 的有关问题!
HibernateAnnotation的问题!!我在项目已加载hibernate3.2jar和hibernate_annotation.jar的包和已用jdk1.6,但我在entity类输入(写)@id,@Column时总是报错找不到符号:packagehibernateinfo;importorg.hibernate.annotations.AccessType;importorg.hibern...
273
热度 -
Hibernate 级联剔除
Hibernate级联删除 1.打破关联关系,再删除2.HQL
352
热度 -
hibernate Transformers的有关问题
hibernateTransformers的问题我有个User实体类里面很多栏位、通过hibernate注解生成的表、而我每次查询的时候会查询全部的栏位、所以我建立了一个UserDTO里面就三个栏位id帐号密码在DAO查询的时候使用了TransformersJavacodeQueryquery=session.createQuery("selectid,account,passwordf...
77
热度 -
100分!hibernate关系投射
100分!hibernate关系映射!one-to-one:由映射文件自动生成数据库,添加数据的时候,不能两个一起添加,相关文件如下:Idcard.hbm.xml:<!DOCTYPEhibernate-mappingPUBLIC"-//Hibernate/HibernateMappingDTD3.0//EN""http://hibernate.sourceforge.net/hibernat...
68
热度