-->
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: In hopes of saving someone else time: Another Object except
PostPosted: Sat Nov 01, 2003 5:52 pm 
Newbie

Joined: Sat Nov 01, 2003 5:42 pm
Posts: 6
Location: Chicago
Hello,

In hopes of saving some other newbie the time:

You may occassionally run into an error such as:

Code:
Another object was associated with this id (the object with the given id was already loaded)


In my own case, I ran into intermittent problems on one application. After spending a significant amount of time testing, I realized I made a silly error: not calling

Code:
HibernateSession.closeSession();


after running a Criteria based query.

Good luck & thanks to all who've made Hibernate so cool.

http://www.fivesticks.com

_________________
--
Reid Carlberg
Five Sticks


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.