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

setIsolationLevelName

fun setIsolationLevelName(constantName: String): Unit

Set the isolation level by the name of the corresponding constant in TransactionDefinition, e.g. "ISOLATION_DEFAULT".

Parameters

constantName - name of the constant

Exceptions

IllegalArgumentException - if the supplied value is not resolvable to one of the ISOLATION_ constants or is null

See Also
#setIsolationLevel#ISOLATION_DEFAULT