Announcement Announcement Module
Collapse
No announcement yet.
How do I use @Transactional with 2 Transaction Managers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I use @Transactional with 2 Transaction Managers

    Here is my scenario:

    We connect to two databases using Hibernate and currently we have configured two data sources using two local hibernate transaction managers. Even though we may use both transaction managers in a dao, we do not use global transactions.

    I was wondering how do I use annotation driven transactions in this scenario? Is it possible? Am I using the correct approach?
Working...
X