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

setPropagationBehavior

fun setPropagationBehavior(propagationBehavior: Int): Unit

Set the propagation behavior. Must be one of the propagation constants in the TransactionDefinition interface. Default is PROPAGATION_REQUIRED.

Exceptions

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

See Also
#PROPAGATION_REQUIRED