Hi all.

I have a mapped class that has two many-to-one relations.

Im using spring HibernateDaoSupport class to retrieve the data from the
hibernate session and i have a problem when i get this class data. Im not
able to get the data from the two many-to-one relations. i have solved it
with the default-lazy=false attribute in the hbm file but i want to know if
there is abetter solution. it has to be coded in the dao class because the
HibermnateDaoSupport closes the hibernate session...

I have tried with the join keyword in gthe query without success.

Any idea??

thx
-- 
View this message in context: 
http://www.nabble.com/hibernate-lazy-load-tf1954685.html#a5360743
Sent from the Hibernate forum at Nabble.com.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to