From: Max R. A. <max...@jb...> - 2006-07-17 13:30:36
|
use user forum at forum.hibernate.org for user questions - this is for = hibernate core development. /max > > Hi all. > > I have a mapped class that has two many-to-one relations. > > Im using spring HibernateDaoSupport class to retrieve the data from th= e > 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=3Dfalse 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 -- = -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate ma...@hi... http://hibernate.org JBoss Inc max...@jb... |