public void setConnectionName(String connectionName) {
this.connectionName = connectionName;
}
public void afterPropertiesSet() {
JdbcConfiguration conf =
(JdbcConfiguration) databaseConnectionManager.getConfiguration(connectionName);
/** Query datasource from configuration object. */
dataSource = conf.getDataSource();
txManager = new DataSourceTransactionManager(dataSource);
jdbcTemplate = new JdbcTemplate(dataSource);
}