From: maveganzones <mav...@gm...> - 2006-07-17 13:21:13
|
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. |