• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PersistenceException, where is occurs ?

 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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 ?


Regards,
M
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't this a matter of finding the source file for myPackage.ContentItem ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic