public class PreCommit extends Object
| Constructor and Description |
|---|
PreCommit(TransactionCallable onPreCommit)
Create PreCommit object
|
| Modifier and Type | Method and Description |
|---|---|
void |
doPreCommit(com.j256.ormlite.support.DatabaseConnection databaseConnection)
Execute call
|
Throwable |
getPreCommitException()
Returns caught Exception, if thrown
|
boolean |
isDoRollback()
Returns rollback flag
|
public PreCommit(TransactionCallable onPreCommit)
onPreCommit - CallableCallablepublic void doPreCommit(com.j256.ormlite.support.DatabaseConnection databaseConnection)
databaseConnection - Open database connection on which transaction is activepublic Throwable getPreCommitException()
public boolean isDoRollback()
This documentation is licensed by Andrew Bowley under the GPLv3 License.