using JdcbTemplate standalone

Posted by Flyhard on Stack Overflow See other posts from Stack Overflow or by Flyhard
Published on 2010-06-10T08:41:05Z Indexed on 2010/06/10 9:22 UTC
Read the original article Hit count: 397

Filed under:
|
|

Hi

We are looking into using the JdbcTemplate for accessing the DB - but we have many different DB-connections, that each class could use, so injecting the jdbcTemplate is not an option atm. So if we do a

jdbcTemplate = new JdbcTemplate(dataSource);

what will the transaction policy be? Auto-commit is off in the DB.

© Stack Overflow or respective owner

Related posts about java

Related posts about spring