Skip to content

Commit

Permalink
add @nAmed annotation for dataSource
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvard Fonsell committed Oct 14, 2014
1 parent f2a0360 commit d29d9f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static class JaxRsApiApplication extends Application {
}

@Bean
public PlatformTransactionManager transactionManager(DataSource dataSource) {
public PlatformTransactionManager transactionManager(@Named("nflowDatasource") DataSource dataSource) {
return new DataSourceTransactionManager(dataSource);
}
}

0 comments on commit d29d9f2

Please sign in to comment.