Hello Appfuzers,

I'm having problems with my app.  I'm trying to build a light-weight cms
(inhouse proyect) and I'm getting a LazyInitializationException in my
*DaoTest.  I already checked the following:

1. 
1.  Hashcode/ Equals:  Generated using Commonclipse (left out the pk).
2.  @OneToMany mapping all have FetchType.LAZY as fectching strategy.

Here is my model: 
http://www.nabble.com/file/p11813896/model.png 

The problem appears when I'm trying to obtain the Pages from the Template. 
When Hibernate tries to fetch the Tokens (implemented as a HashSet), the
LazyInitialization occurs.

Thanks,


-- 
View this message in context: 
http://www.nabble.com/LazyInitializationException%3A-illegal-access-to-loading-collection....-tf4152650s2369.html#a11813896
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to