Closes and removes the current EntityManager.
Closes and removes the current EntityManager.
IMPORTANT: This method must always be used to close the EntityManager, never use em.close directly.
Marks the current transaction as doomed.
Returns the current EntityManager.
Returns the current Transaction.
Checks that the current transaction is NOT doomed.
Checks if the current transaction is doomed.
Marks the current transaction as doomed.
Base monad for the transaction monad implementations.