I have the an entity that is being modified in a transaction. After the modification i use the entityManager.flush() method but the transaction is not committed. In another transaction I recover the modified entity using READ_UNCOMMITTED isolation. I modify the entity and I try to commit the transaction but it does not work. I get a deadlock. Is there a way to unlock the entity from the first transaction so that I can commit the second transaction with the entity modified?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire