org.hibernate. PersistentObjectException: detached entity passed to persist:
you get this exception when want to add an object with JPA.
The first time everything goes fine and Object is inserted in the database.
The second time, it fails and you have this exception.
To resolve this do:
|
Aucun commentaire:
Enregistrer un commentaire