[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Failed to Laizy load the Collection

NSchweig do-not-reply at jboss.com
Thu Dec 4 11:17:53 EST 2008


Hi,

I have got the same problem. In the hibernate forum they say that you have to use the opensessioninview pattern. 
http://www.hibernate.org/43.html

If you use Spring (I do not) there ist a OpenSessionInViewFilter you can use (I think you only have to configure it in the web.xml)
But I do not really understand how to implement the OSIV-Pattern by myself when I use EJB.... ???
Perhaps you have some ideas.

Nicki


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194398#4194398

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194398



More information about the jboss-user mailing list