Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Bean(name = "transactionManager")
- public DataSourceTransactionManager getTransactionManager() {
- DataSourceTransactionManager txManager = new DataSourceTransactionManager();
- // Get the connection from plain connection pool and set it in datasource
- return txManager;
- }
Add Comment
Please, Sign In to add comment