public class EntityTransactionImpl extends EntityTransactionImpl implements EntityTransaction
EntityTransactionImplactive, rollbackOnly, wrapper| Constructor and Description |
|---|
EntityTransactionImpl(EntityTransactionWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit the current transaction, writing any un-flushed changes to the database.
|
begin, finalize, getRollbackOnly, isActive, rollback, setRollbackOnlyclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, getRollbackOnly, isActive, rollback, setRollbackOnlypublic EntityTransactionImpl(EntityTransactionWrapper wrapper)
public void commit()
EntityTransactionImpl.isActive() returns true.commit in interface EntityTransactioncommit in class EntityTransactionImplIllegalStateException - if isActive() is false.PersistenceException - if the commit fails.Copyright © 2025. All rights reserved.