hibernate-orm
hibernate-orm copied to clipboard
HHH-14416 test cases for re-saving a deleted entity
I have added an additional test case showing that an entity entry that is created by em.persist() is created with isExistsInDatabase() == false instead of evaluating whether the entity is already in the database. This happens although the entity manager determines correctly that there was a delete statement that has not been flushed yet (so the entity must exist in the database)
Thanks for your pull request!
This pull request appears to follow the contribution rules.
› This message was automatically generated.