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

setName

fun setName(name: String): Unit

Set the name of this transaction. Default is none.

This will be used as transaction name to be shown in a transaction monitor, if applicable (for example, WebLogic's).