-->
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.  [ 2 posts ] 
Author Message
 Post subject: Problems switching Hibernate 2.17 to 3 Beta 4
PostPosted: Wed Feb 23, 2005 4:18 am 
Newbie

Joined: Tue Feb 22, 2005 11:51 am
Posts: 18
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
First 2.17, now 3.0 Beta 4


Hey there,

I used Hibernate 2.17. My Programm was running very nice. Now i switched to the actuall Beta 3.04. The first problem was, that I got an Exception (proxy not available - parent Session was closed). Then I've updated my mapping-documents and added the parameter " lazy="false" " to every property, set, bag, collection, association.

But there is still a problem: When is start my programm, all classes and relations are getting loaded. but if i insert an element to the assoaciated class and save it, it doesn't get loaded.

i will soon post my mapping files and so on...


thanks for help


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 4:46 am 
Newbie

Joined: Tue Feb 22, 2005 11:51 am
Posts: 18
I've solved the problem!
I changed the lazy-loading of my classes to "false".

Thanks


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

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.