tx

protected Transaction<I, ? extends TransactionalEntity<I, S, B>, S, B> tx()

Obtains the transaction used for modifying the entity.

Throws

if the entity is not in the modification phase