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

toString

open fun toString(): String

Return an identifying description for this transaction definition.

The format matches the one used by org.springframework.transaction.interceptor.TransactionAttributeEditor, to be able to feed toString results into bean properties of type org.springframework.transaction.interceptor.TransactionAttribute.

Has to be overridden in subclasses for correct equals and hashCode behavior. Alternatively, #equals and #hashCode can be overridden themselves.

See Also
#getDefinitionDescription()org.springframework.transaction.interceptor.TransactionAttributeEditor