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

setPropagationBehaviorName

fun setPropagationBehaviorName(constantName: String): Unit

Set the propagation behavior by the name of the corresponding constant in TransactionDefinition, e.g. "PROPAGATION_REQUIRED".

Parameters

constantName - name of the constant

Exceptions

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

See Also
#setPropagationBehavior#PROPAGATION_REQUIRED