-->
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: Hibernate3 and Annotation - lazy initialization problem
PostPosted: Mon May 23, 2005 5:47 pm 
Newbie

Joined: Mon May 23, 2005 5:42 pm
Posts: 7
Hi!

I was using H2 with spring and xdoclet machinery. It is ok, but new H3 and annotation looks so nice... and I decided to move my project to new libraries.
so currentlyI'm using H3 with annotation (beta...) and spring 1.2.
Everything is greate but... lazy-initialization. New Hibernate has default TRUE and I've got problems with it. I've got no hibernate-mapping files (I'm using anntoations) so I have no place to set lazy-default to FALSE (as it was somewhere suggested).
Could you tell me where I should change something?
I was trying to set annotation fetch to FetchType.EAGER but it doesn't help me much.
I hope - there is some easy way to fix this problem - if not then I can post more details with code examples...


Regards
Lukjel


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.