@groovy.transform.CompileStatic interface TransactionTemplateFactory
Factory interface for creating transaction templates with datastore-specific behavior.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract GrailsTransactionTemplate |
createTransactionTemplate(PlatformTransactionManager transactionManager)Create a transaction template with default settings |
|
abstract GrailsTransactionTemplate |
createTransactionTemplate(PlatformTransactionManager transactionManager, TransactionDefinition transactionDefinition)Create a transaction template with custom definition |
|
abstract GrailsTransactionTemplate |
createTransactionTemplate(PlatformTransactionManager transactionManager, TransactionAttribute transactionAttribute)Create a transaction template with custom attribute |
Create a transaction template with default settings
transactionManager - The transaction managerCreate a transaction template with custom definition
transactionManager - The transaction managertransactionDefinition - The transaction definitionCreate a transaction template with custom attribute
transactionManager - The transaction managertransactionAttribute - The transaction attribute