I have investigated quite a bit more. The defaults are still Lazy. My problem 
was related to a toString method in my entity that recursively called all the 
other entities attached to it (e.g. the many-to-many and one-to-many).  

Somewhere this toString was called, resulting in my whole database being 
eagerly loaded. I cant figure out where it is called (I think in one of the 
Tomahawk components .. as I have also changed to the latest tomahawk 1.1.3) . 
However, it was a bad idea to abuse toString in such a way (initially it was a 
good way just to check on the structure and content in one call, but I should 
have fixed it some time ago). 

Thanks for the feedback.

Later

Louis


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951619#3951619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951619


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to