List of usage examples for org.springframework.jdbc.datasource TransactionAwareDataSourceProxy setTargetDataSource
public void setTargetDataSource(@Nullable DataSource targetDataSource)
From source file:com.apress.prospringintegration.messageflow.workflow.ActivitiProcessEngineConfiguration.java
@Bean public DataSource targetDataSource() { TransactionAwareDataSourceProxy transactionAwareDataSourceProxy = new TransactionAwareDataSourceProxy(); transactionAwareDataSourceProxy.setTargetDataSource(dataSource); return transactionAwareDataSourceProxy; }