hibernate-annotations
Multiple join associations in hibernate
My question is related to database design and also how to model that design in Hibernate. I have two tables with the following primary keys:[详细]
2023-03-18 06:02 分类:问答JVM crashing when using any other Hibernate inheritance strategy besides SINGLE_TABLE
Ok, this is probably a longshot but here goes. In Java (JRE 1.6.0_26-b03) I have two classes, SuperControl and its subclass SubControl. They both need to be persistent objects and I\'m using Hibernat[详细]
2023-03-17 00:00 分类:问答Hibernate: two sequences within a single entity with JPA
I have a mapping class using JPA annotations, and I want it to use two separate sequences for two fields:[详细]
2023-03-13 17:32 分类:问答Visual Designer Tool for Hibernate Annotations
I started using Hibernate only recently. While I was playing with it, I experienced the problem , which I assume, is faced by every Hibernate Beginner.[详细]
2023-03-07 11:37 分类:问答HiberNate Filter with annotaions in one to many mapping
I have a class Person which can have 4 type of addresses and there could be multiplenumber of adresses corresponding to a single type of address.[详细]
2023-03-07 04:23 分类:问答Annotation equivalent to Component in Hibernate
I am aware that using thecomponent tag I can use a part of the class and make it available in an entity in hibernate.[详细]
2023-02-26 10:12 分类:问答How to enable hibernate filter for sessionFactory.getCurrentSession()?
Say there is a User table with structure: User List item u开发者_Python百科serId (PK) company (PK) userName[详细]
2023-02-25 08:45 分类:问答Hibernate - Which inheritance strategy should I use for a class which isn't abstract, but sub-classes may not need tables
I have a simple inheritance relationship in my project, and I\'d like to have the super class be abstract.Some of the inheriting classes will require extra database information, but others will not.I\[详细]
2023-02-21 10:02 分类:问答Disable Lazy Loading in Hibernate
How do I disable lazy loading in Hibernate?I am using persistence annotations,not an开发者_高级运维 hbm xml file.[详细]
2023-02-21 03:51 分类:问答Hibernate how to remove item from list
I have been facing some challenges of understanding how list are 开发者_开发技巧managed in hibernate.[详细]
2023-02-20 03:35 分类:问答