[Hibernate] hibernate lazy load

2006-07-17 Thread maveganzones

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


Re: [Hibernate] hibernate lazy load

2006-07-17 Thread Max Rydahl Andersen

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 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



-- 
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


-
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


Re: [Hibernate] hibernate lazy load

2006-07-17 Thread maveganzones

OK i didnt know. I have tried to register in the forum.hibernate.com but it
throws an error and it says that my user is inactive.

Do you know how can i contact with the administrator so he'll active my
account?

thx
-- 
View this message in context: 
http://www.nabble.com/hibernate-lazy-load-tf1954685.html#a5360961
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