1. EclipseLink: onetomany relationships with lazy loading loaded with serialization stackoverflow.comI'm facing a problem with eclipselink under websphere 7.0 in a clustered environment. When my entity is serialized every 1-n relationship lazy is loaded, even if the entity is detached. How ... |
2. Eager loading OneToMany in Hibernate with JPA2 stackoverflow.comI have a simple
I would like to load all Person s with associated Pet s. So I came up ... |
3. Hibernate inverse=''true" and problems when getting one-to-many stackoverflow.comI am trying to use the following mapping :
|
4. |
5. Too many instances when loading @OneToMany forum.hibernate.orghello, I have a small Swing app using hibernate with a standalone HSQLDB backend. There is a Project class (Singleton because there is one HSQLDB per Project) which contains SequenceLists objects which contains GibbsSamplingResults objects (the inheritance is currently not used): Code: @Entity @Inheritance(strategy=InheritanceType.SINGLE_TABLE) @DiscriminatorValue(value="Project") @Table(name="projects") public class Project { @Id private final Long id ... |
6. Null pointer E while loading Object having OnetoMany Relatio forum.hibernate.orgHi, I am getting NullpointerException while creating getProxyFactory(..) when trying to load the Object using Session.get( A.class, aId) under user Transaction I have created in my java main() program; same thing works when I deploy on the webloigc application server and use under ejb transaction. here A has Many-To-One relationship with Class B, and in the query I see it is ... |