In this application a InfondsPartner(p) has a InfondsMandant(m) with one-to-one relation. And InfondsMandant has a String field with name "name". If i run p.getMandant().getName(), it throws the "org.hibernate.LazyInitializationException: could not initialize proxy - no Session" exception in my client application, but if i run p.getMandant.getId(), it runs correct with right id value returned.
Thanks alot for your feedbacks! Juan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922456#3922456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922456 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
