SqlConnection.begin

Begin a transaction and returns a {@link Transaction} for controlling and tracking this transaction. <p/> When the connection is explicitely closed, any inflight transaction is rollbacked.

@return the transaction instance

  1. Transaction begin()
    interface SqlConnection
  2. Transaction begin(bool closeOnEnd)

Meta