Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Apr 14, 2016
1 parent 8b38e19 commit 291d38a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -57,12 +57,12 @@ public DatabaseDataSourceConnectionFactoryBean(DataSource dataSource) {

public DatabaseDataSourceConnection getObject() throws Exception {
Assert.notNull(this.dataSource, "The dataSource is required");
DatabaseDataSourceConnection dataSourceConntection = new DatabaseDataSourceConnection(
DatabaseDataSourceConnection dataSourceConnection = new DatabaseDataSourceConnection(
makeTransactionAware(this.dataSource), this.schema, this.username, this.password);
if (this.databaseConfig != null) {
this.databaseConfig.apply(dataSourceConntection.getConfig());
this.databaseConfig.apply(dataSourceConnection.getConfig());
}
return dataSourceConntection;
return dataSourceConnection;
}

private DataSource makeTransactionAware(DataSource dataSource) {
Expand Down

0 comments on commit 291d38a

Please sign in to comment.