spring-framework / org.springframework.transaction.support / DefaultTransactionDefinition / setIsolationLevel

setIsolationLevel

fun setIsolationLevel(isolationLevel: Int): Unit

Set the isolation level. Must be one of the isolation constants in the TransactionDefinition interface. Default is ISOLATION_DEFAULT.

Exceptions

IllegalArgumentException - if the supplied value is not one of the ISOLATION_ constants

See Also
#ISOLATION_DEFAULT