private class JpaTransactionExecutor.JpaTransactionAdapter extends AbstractTransactionExecutor.AbstractTransactionAdapter<javax.persistence.EntityTransaction>
TransactionAdapter
interface using
JPA.Constructor and Description |
---|
JpaTransactionAdapter()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected javax.persistence.EntityTransaction |
createNewTransaction()
This method creates a new technical transaction.
|
protected void |
doCommit()
This method performs the actual
AbstractTransactionExecutor.AbstractTransactionAdapter.commit() on the active
transaction . |
protected void |
doRollback()
This method performs the actual
AbstractTransactionExecutor.AbstractTransactionAdapter.rollback() on the active
transaction . |
commit, getActiveTransaction, getContext, interCommit, isActive, rollback, start, stop
protected javax.persistence.EntityTransaction createNewTransaction()
createNewTransaction
in class AbstractTransactionExecutor.AbstractTransactionAdapter<javax.persistence.EntityTransaction>
protected void doCommit()
AbstractTransactionExecutor.AbstractTransactionAdapter.commit()
on the active
transaction
.doCommit
in class AbstractTransactionExecutor.AbstractTransactionAdapter<javax.persistence.EntityTransaction>
protected void doRollback()
AbstractTransactionExecutor.AbstractTransactionAdapter.rollback()
on the active
transaction
.doRollback
in class AbstractTransactionExecutor.AbstractTransactionAdapter<javax.persistence.EntityTransaction>
Copyright © 2001–2016 mmm-Team. All rights reserved.