Closed rxue closed 1 week ago
testRollbackCreate() failed as expected since no standalone jta mechanism added yet
testRollbackCreate()
LEARNING : TypedQuery.getSingleResult() is designed to throw NoResultException if there is no result when it is used
TypedQuery.getSingleResult()
NoResultException
commit above wa on base of
But test failed unexpectedly: entity persisted into the database albeit the fact that UserTransaction.rollback() is called
UserTransaction.rollback()
testRollbackCreate()
failed as expected since no standalone jta mechanism added yetLEARNING :
TypedQuery.getSingleResult()
is designed to throwNoResultException
if there is no result when it is used