Example usage for org.springframework.jdbc.datasource TransactionAwareDataSourceProxy TransactionAwareDataSourceProxy

List of usage examples for org.springframework.jdbc.datasource TransactionAwareDataSourceProxy TransactionAwareDataSourceProxy

Introduction

In this page you can find the example usage for org.springframework.jdbc.datasource TransactionAwareDataSourceProxy TransactionAwareDataSourceProxy.

Prototype

public TransactionAwareDataSourceProxy() 

Source Link

Document

Create a new TransactionAwareDataSourceProxy.

Usage

From source file:com.apress.prospringintegration.messageflow.workflow.ActivitiProcessEngineConfiguration.java

@Bean
public DataSource targetDataSource() {
    TransactionAwareDataSourceProxy transactionAwareDataSourceProxy = new TransactionAwareDataSourceProxy();
    transactionAwareDataSourceProxy.setTargetDataSource(dataSource);
    return transactionAwareDataSourceProxy;
}