ObjectDB ObjectDB

commit() - JPA EntityTransaction's method

Commit the current resource transaction, writing any unflushed changes to the database.
Throws:
IllegalStateException - if isActive() is false
RollbackException - if the commit fails
Since:
JPA 1.0