- All Superinterfaces:
DbExecute
- All Known Implementing Classes:
MongoDbTransaction
Database transaction.
Holds a single transaction to the database (if supported).
The transaction completes once
DbClient.inTransaction(java.util.function.Function)
returns
the result provided by the body of the lambda within it.-
Method Summary
Modifier and TypeMethodDescriptionvoid
rollback()
Configure this transaction to (eventually) rollback.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
-
rollback
void rollback()Configure this transaction to (eventually) rollback.
-