- 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 TypeMethodDescriptionvoid
commit()
Complete the transaction represented by thisDbTransaction
instance.void
rollback()
Rollback the transaction represented by thisDbTransaction
instance.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 thisDbTransaction
instance. -
rollback
void rollback()Rollback the transaction represented by thisDbTransaction
instance.
-