Back to Exposed

ExposedSpringTransactionAttributeSource

docs/api/spring-transaction/org.jetbrains.exposed.v1.spring.transaction/-exposed-spring-transaction-attribute-source/index.html

1.2.02.5 KB
Original Source

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.

Members

Constructors

ExposedSpringTransactionAttributeSource

Link copied to clipboard

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

Functions

getTransactionAttribute

Link copied to clipboard

open override fun getTransactionAttribute(method: Method, targetClass: Class<*>?): TransactionAttribute?

hasTransactionAttribute

Link copied to clipboard

open fun hasTransactionAttribute(method: Method?, @Nullable targetClass: Class<*>?): Boolean

isCandidateClass

Link copied to clipboard

open fun isCandidateClass(targetClass: Class<*>?): Boolean

Generated by Dokka © 2026 Copyright