-->
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: Lazy loading collections
PostPosted: Thu Jul 01, 2010 3:10 am 
Newbie

Joined: Thu Jul 01, 2010 2:43 am
Posts: 2
hi I am using hibernate with gwt. i placed the hibernate session factory in the http servlet context. then opening current session from that factory in every gwt service call and begining the transaction,saving,updating or getting the data and then comitting the transaction. i have a college domain model. i have an Student object which contains list of Course object. for getting list of courses for a given student, LAZY LOADING is not working. i have just placed lazy=true in the collectin mapping file. how to do lazy loading a 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.