public class SpringTransactionInterceptor extends CommandInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected ProcessEngineConfigurationImpl |
processEngineConfiguration |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected int |
transactionPropagation |
next| Constructor and Description |
|---|
SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager,
int transactionPropagation)
Deprecated.
use the
SpringTransactionInterceptor(PlatformTransactionManager, int, ProcessEngineConfigurationImpl)
constructor to ensure that when used with CockroachDB, concurrency conflicts that occur
on transaction commit are detected and handled. |
SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager,
int transactionPropagation,
ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
execute(Command<T> command) |
getNext, setNextprotected org.springframework.transaction.PlatformTransactionManager transactionManager
protected int transactionPropagation
protected ProcessEngineConfigurationImpl processEngineConfiguration
@Deprecated public SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager, int transactionPropagation)
SpringTransactionInterceptor(PlatformTransactionManager, int, ProcessEngineConfigurationImpl)
constructor to ensure that when used with CockroachDB, concurrency conflicts that occur
on transaction commit are detected and handled.ProcessEngineConfigurationImpl class.
As a result, if it is used with CockroachDB, concurrency conflicts that occur on transaction
commit will not be handled by the process engine.public SpringTransactionInterceptor(org.springframework.transaction.PlatformTransactionManager transactionManager,
int transactionPropagation,
ProcessEngineConfigurationImpl processEngineConfiguration)
public <T> T execute(Command<T> command)
Copyright © 2022. All rights reserved.