-->
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: possible cause for org.hibernate.NonUniqueObjectException
PostPosted: Tue Oct 06, 2009 4:03 am 
Newbie

Joined: Tue Oct 06, 2009 3:52 am
Posts: 1
Hello all,

Currently i have some issue on this error.
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session

If i put in localhost tomcat webserver and db2(Internal LAN).
I try to saveOrUpdate an entity (consist a few children entity with it). It runs perfect no error.

If i deploy war file(same source code) to another server which
websphere server - 1st server
DB2 - 2nd server (link to datatcentre)
Client - 10-20 pcs that use internet to link.

It run normal. But some time, almost all the client pc hitting the org.hibernate.NonUniqueObjectException together. During the short period of time. Almost all the save will have error.
But after awhile, everything will back to normal. Can save without error.

I have thinking some of the possibles.
1) Coding error - but it doesn't seem to be because on local no error. On websphere only that certain period of time will encounter.
2) Hardware - It works fine all the time but only short period of time.
3) Network - Can it be the network unstable? Anyway to prove if cause by this?

Any comment or idea how to resolve or find the cause behind this?
Any other possibility?

Thanks for help


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.