Class giving the ability to start, commit and rollback a transaction.
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | void | commit()Commit the transaction. | 
|  | T | getNativeTransaction()@return the native transaction object. | 
|  | boolean | isActive()Whether the transaction is active | 
|  | void | rollback()Rollback the transaction. | 
|  | void | setTimeout(int timeout)Sets the transaction timeout period | 
Commit the transaction.
Whether the transaction is active
Rollback the transaction.
Sets the transaction timeout period
timeout -  The timeout