Interface DbTransaction

All Superinterfaces:
All Known Implementing Classes:

public interface DbTransaction extends DbExecute
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 Details

    • rollback

      void rollback()
      Configure this transaction to (eventually) rollback.