a different object with the same identifier value was already associated with the session
Ihavefoundtwosolutiontothisissue.Hereitis,therearetwo.1.Usecascase=none.2.Usemergeinsteadofsaveandupdate.TheproblemhereisthatyoupassinadetachedobjectwhichgetsreattachedtotheSession.Youalsofetchthesame