Interface TransactionBatch

All Superinterfaces:
AutoCloseable, Batch, SuspendedBatch
All Known Implementing Classes:
ThreadLocalTransactionBatch

public interface TransactionBatch extends Batch, SuspendedBatch
TransactionBatch that associates and exposes the underlying transaction.
Author:
Paul Ferraro
  • Method Details

    • getTransaction

      jakarta.transaction.Transaction getTransaction()
      Returns the transaction associated with this batch
      Returns:
      a transaction
    • interpose

      TransactionBatch interpose()
      Returns an interposed batch.
      Returns:
      an interposed batch.