-
- All Superinterfaces:
DbExecute
- All Known Implementing Classes:
MongoDbTransaction
public interface DbTransaction extends DbExecute
Database transaction. Holds a single transaction to the database (if supported). The transaction completes onceDbClient.inTransaction(java.util.function.Function)
returns the result provided by the body of the lambda within it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
-
-