TransactionTemplate()
Construct a new TransactionTemplate for bean usage.
Note: The PlatformTransactionManager needs to be set before any execute calls.
See Also
#setTransactionManager
TransactionTemplate(transactionManager: PlatformTransactionManager)
Construct a new TransactionTemplate using the given transaction manager.
transactionManager - the transaction management strategy to be used
TransactionTemplate(transactionManager: PlatformTransactionManager, transactionDefinition: TransactionDefinition)
Construct a new TransactionTemplate using the given transaction manager, taking its default settings from the given transaction definition.
transactionManager - the transaction management strategy to be used
transactionDefinition - the transaction definition to copy the default settings from. Local properties can still be set to change values.