These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: No session and lazy load
PostPosted: Sun Aug 13, 2006 11:24 am 
Beginner
Beginner

Joined: Tue Dec 20, 2005 9:40 pm
Posts: 20
Hi, I'm getting a the error that I can't lazy load since there is no session. I'm using the session per request/view pattern described here: http://www.codeproject.com/aspnet/NHibe ... ctices.asp

When I step through my code, the session opens, then the lazy collection tries to load, and then the error. I never get to the point that the session closes though. Is there something I'm missing?

One possible issue is that I'm using a class to wrap my collection to make it a fake strongly typed one. The wrapping class has an innerList where which contains the actual collection.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.