I have just enabled fetch="join" for many-to-one associations by adapting the
Hibernate.xpt of my local sculptor branch. I just copied the line

 «IF getFetch() != null -»
      fetch="«getFetch()»" lazy="false"
      «ENDIF -»

from «DEFINE oneToManyReference...
to «DEFINE oneReference

However, I wonder if there was a reason for many-to-one not supporting the
fetch="" attribute out of the box, maybe something I overlooked?
-- 
View this message in context: 
http://www.nabble.com/fetch%3D%22join%22-for-many-to-one--tp17337028s17564p17337028.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to