- All Superinterfaces:
DbExecute
Database transaction.
Holds a single transaction to the database (if supported).
The transaction completes once the
commit() method is called.-
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()Complete the transaction represented by thisDbTransactioninstance.voidrollback()Rollback the transaction represented by thisDbTransactioninstance.Methods inherited from interface io.helidon.dbclient.DbExecute
createDelete, createDmlStatement, createGet, createInsert, createNamedDelete, createNamedDelete, createNamedDmlStatement, createNamedDmlStatement, createNamedGet, createNamedGet, createNamedInsert, createNamedInsert, createNamedQuery, createNamedQuery, createNamedUpdate, createNamedUpdate, createQuery, createUpdate, delete, dml, get, insert, namedDelete, namedDml, namedGet, namedInsert, namedQuery, namedUpdate, query, unwrap, update
-
Method Details
-
commit
void commit()Complete the transaction represented by thisDbTransactioninstance. -
rollback
void rollback()Rollback the transaction represented by thisDbTransactioninstance.
-