-
Jan 26th, 2010, 07:07 PM
#1
dm Server 2.0 and Hibernate Lazy Loading
I'm setup so that my web bundle imports @transactional services from a service bundle and a hibernate service factory from a dao bundle. I then use the reference to the servicefactory in an "Open Session in View" filter, and that allows me to access lazily loaded objects in my view. This all worked well in dm Server 1.x, but in dm Server 2.0 I'm getting
failed to lazily initialize a collection of role: com.spintop.domain.PublisherImpl.hiberContractTerm sSet, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.spintop.domain.PublisherImpl.hiberContractTerm sSet, no session or session was closed
I'm not even sure which bundle to be looking for problem in.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules