I am learning spring and got stuck with this below issue. Searched some of the solution but didnt help much so Need some help
I am trying to read and write data from two different database (DB2 and Oracle). I would like to use Spring @Transactional annotation and want to create Transaction manager and jdbcTemplate with two different database.
I want to use both Transaction manager and jdbcTemplate for DB2 and Oracle and from application I want to do the db operation using jdbcTemplate.batchUpdate().
can you please tell if it's possible to create separate Transaction manager and jdbcTemplate for DB2 and Oracle ?