1. How to load a set of objects when Hibernate Lazy Fetchtype is used? stackoverflow.comI have a Hibernate domain class (let's say PetOwner) with a one to many relationship with another class(Pets) [PetOwner (1)---------(*) Pet] Due to a drastic change required to improve the performance I had ... |
2. Hibernate disconnect proxy when fetch=FetchType.LAZY stackoverflow.com
|
3. Merging an object with FetchType.EAGER relation leads to "FailedObject" stackoverflow.comI have an entity VM with a relationship to another entity BP. The relationship is eagerly fetched. First I load a VM. After loading the VM is detached, serialized and changed ... |
4. JPA/Hibernate: @ManyToOne and @OneToOne relationships tagged as FetchType.LAZY and optional = false not loading lazily on em.find()? stackoverflow.comI have the following entity (only relevant mappings shown):
|
5. @OneToOne (fetch = FetchType.LAZY) not lazy load forum.hibernate.orgHello. I'm using jpa + hibernate (3.3.2.GA). I mapped relations as follows: ------------------------------- Code: public class A { ... @OneToOne( optional = true, cascade = {CascadeType.PERSIST, CascadeType.REFRESH }, fetch = FetchType.LAZY, ... |