What transaction manager should I use for JBDC template When using JPA ?

Posted by Sajid on Stack Overflow See other posts from Stack Overflow or by Sajid
Published on 2010-04-20T08:37:21Z Indexed on 2010/04/20 8:43 UTC
Read the original article Hit count: 280

Filed under:
|
|

I am using standard JPA transaction manager for my JPA transactions. However, now I want to add some JDBC entities which will share the same 'datasource'. How can I make the JDBC operations transactional with spring transaction? Do I need to swith to JTA transaction managers? Is it possible to use both JPA & JDBC transactional service with same datasource? Even better, is it possible to mix these two transactions?

© Stack Overflow or respective owner

Related posts about spring

Related posts about jdbctemplate