Interface Transaction

All Known Implementing Classes:
JdbcTransaction, ManagedTransaction

public interface Transaction
Wraps a database connection. Handles the connection lifecycle that comprises: its creation, preparation, commit/rollback and close.
Author:
Clinton Begin
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close inner database connection.
    void
    Commit inner database connection.
    Retrieve inner database connection.
    Get transaction timeout if set.
    void
    Rollback inner database connection.
  • Method Details