TransactionDefinition
How a transaction should be run.
Gathered into one value rather than passed as five parameters because it is what a SessionProvider is handed, and providers differ in what they can honour: the default one sets everything here on the session it opens, while one backed by another transaction manager may own some of these itself.
Constructors
Properties
The isolation level to run at, or null to leave the session on the level the server gave it. Applied only where this definition actually starts a transaction - joining one that is already running cannot change the level it began at.
What to do about a transaction that is already running. Defaults to TransactionPropagation.REQUIRED.
Aborts any single statement in the transaction that runs longer than this, via SET LOCAL statement_timeout. null leaves the server's setting alone.
Aborts the transaction once it has been open longer than this, via SET LOCAL transaction_timeout. null leaves the server's setting alone.