ExposedSpringTransactionAttributeSource

class ExposedSpringTransactionAttributeSource(delegate: TransactionAttributeSource = AnnotationTransactionAttributeSource(), rollbackExceptions: List<Class<out Throwable>> = listOf(SQLException::class.java)) : TransactionAttributeSource

A TransactionAttributeSource that adds ExposedSQLException to the rollback rules of the delegate.

Constructors

Link copied to clipboard
constructor(delegate: TransactionAttributeSource = AnnotationTransactionAttributeSource(), rollbackExceptions: List<Class<out Throwable>> = listOf(SQLException::class.java))

Functions

Link copied to clipboard
open override fun getTransactionAttribute(method: Method, targetClass: Class<*>?): TransactionAttribute?
Link copied to clipboard
open fun hasTransactionAttribute(method: Method, @Nullable targetClass: Class<*>): Boolean
Link copied to clipboard
open fun isCandidateClass(targetClass: Class<*>): Boolean