1. Using fetch=join throws LazyInitializationException forum.hibernate.orgRegular Joined: Wed Jul 27, 2005 2:33 am Posts: 118 Hi, We are using Hibernate-3.1.2 as MBean in JBoss-3.2.3. We have a simple parent-child relationship mapped as follows: -------- Parent: -------- Code: |
2. Resolve LazyInitializationException's by always fetch.EAGER forum.hibernate.orgNewbie Joined: Wed Jun 17, 2009 6:41 am Posts: 3 Hi all, I'm trying to resolve my LazyInitializationException's by always fetching eagerly. (and because Lazy Loading doesn't seem to work when sending objects from Java to Flex via BlazeDS) I've got a bidirectional relationship between my Person and Vehicle classes: Person with OneToMany to Vehicle: Code: @Entity @Table(name = "person") public ... |