Hi

acctually lazy="true" is wrong on many-to-one and one-to-one asociations. It 
need to be lazy="proxy". The doc is wrong or just confusing.



I reported this issue to Hibernate JIRA 
(http://opensource.atlassian.com/projects/hibernate/browse/HHH-862) but my 
patch was rejected with the reason that I had missunderstood how it works.



The new 3.1 doc in CVS is more clearer, there are three possible values for the 
lazy attribute on many-to-one, which are proxy, no-proxy and false.



I'll submit a patch for the hibernate template as soon I've tested that it 
works properly
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3854#3854
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to