-
Oct 31st, 2012, 01:35 PM
#1
Spring batch and 2 phase commit
Hi, everyone! Please, I need some help. I have a Spring batch where the tables for the spring batch metadata are on one DB, and the business data is on other DB, and I cant change this. So, I created 2 datasources and use 1 for the repository (with one transaction manager) and another datasource for the business data. It is working, but I am worried about the unsynchronization of the 2 DBs, since I can end up with the batch´s metadata not matching the actual situation. Is there any way I can implement 2 phase commit, linking the 2 transaction managers with a global one?
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules