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
|