Hi guys, thanks for your help in advance
I need to be able to list all currently associated objects with a Session. I keep getting NonUniqueObjectExceptions on cascades of DAOS during saves or updates. So, I figured if I implement a SaveOrUpdateEventListener and check all session-associated objects at save/update time for duplicate objects for the same row and purge/reassign them I might prevent the problem from occuring. Please tell me what is the best way to accomplish this task and if this is the best practice.
thanks a lot.
|