I have the follow problem : PersistenceException occurs, and I know also why somewhere in the project persist is used instead of merge. My problem is that I don't know where, the project is huge, there are also other developers involved and I can not spot the code line where this occurs, my only help is the stack tray line :
javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: myPackage.ContentItem
how can I spot the exception source ?
SCJP, SCJD, SCWCD, OCPJBCD
posted 8 years ago
Isn't this a matter of finding the source file for myPackage.ContentItem ?