ObjectDB ObjectDB

rollback() - JPA EntityTransaction's method

Method
javax.persistence.EntityTransaction
void rollback()

Roll back the current resource transaction.
Throws:
IllegalStateException - if isActive() is false
PersistenceException - if an unexpected error condition is encountered
Since:
JPA 1.0