Hibernate
Hibernate composite-key and foreign generator
I\'m trying to make a foreign key of a child class automatically get the id of it\'s parent. Child class:[详细]
2023-04-12 01:06 分类:问答Hibernate High Concurrency and User defined @Id ’s
firstly please excuse my relative inexperience with Hibernate I’ve only really been using it in fairly standard cases, and certainly never in a scenario where I had to manage the primary key’s (@Id)[详细]
2023-04-12 00:53 分类:问答Integrate hibernateTemplate with spring and Jsf
I have an error when I integrate JSF, Hibernate, and Spring. I have created some unit tests, and all of them work. I think that the problem is coming from JSF. I get this error:[详细]
2023-04-12 00:48 分类:问答hibernate : parent contains a collection of children, when child is deleted/saved I want to automatically "refresh" parent's collections
So if a child is created or deleted, I want to remove/add to collection on parent without manually callin开发者_如何学JAVAg accessing the collection or retreving a new parent object from the session.[详细]
2023-04-12 00:30 分类:问答eclipse plugin to create hibernate annotated entities?
i know that hibernate tools can create hibernate entities but the hibernate ma开发者_运维知识库pping will be in XML file, but i was wondering if there\'s a tool to create hibernate entities and the ma[详细]
2023-04-12 00:22 分类:问答OSGi in Eclipse cannot resolve dependencies
I\'m working on an OSGi/Equinox plugin and cannot seem to get the Hibernate dependencies working.I\'ve adde开发者_StackOverflow中文版d the Hibernate dependencies to my POM with Eclipse and it has succ[详细]
2023-04-12 00:15 分类:问答Migrating application context configuration to Spring 3.1 and Hibernate 4.0
I\'m having hard time finding migration docs. I was using sping 3.0.5 and hibernate 3.4. I migrated to the latest release candidates: spring 3.1 and hibernate 4.0[详细]
2023-04-11 23:59 分类:问答Liquibase: Change a INT autoincrement column to BIGINT using modifyDataType refactoring with H2 database
I have a primary key column which is an INT column which I would like to change to a BIGINT. Our test and production environment uses MySQL, but for unit tests we use the embedded H2 database.[详细]
2023-04-11 23:25 分类:问答Hibernate annotation
Should we use @org.hibernate.annotations.Entity instead of @javax.persistence.Entity in Hibernate based ap开发者_高级运维plications?[详细]
2023-04-11 23:17 分类:问答Create typed query through the session factory in JPA/Hibernate
I generally want to do something like this: CriteriaBuild开发者_如何学Cer qb = em.getCriteriaBuilder();[详细]
2023-04-11 23:17 分类:问答