Announcement Announcement Module
Collapse
No announcement yet.
TransactionManager Question with Three Databases Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • TransactionManager Question with Three Databases

    Hello,

    I have a comprehension question about Spring-Batch and transactionmanager configuration.
    Lets say I have three different Databases DB-A, DB-B and DB-C.
    DB-A holds the Data for the reader.
    DB-B holds the Data for the writer.
    DB-C holds the spring-batch metadata.

    In my Szenario I read the Data from DB-A with an JdbcCursorItemReader, and write to DB-B with an JdbcBatchItemWriter.

    1. Do I have to use a JTA transactionManager?
    2. Which transactionManager I use for the tasklet configuration (<batch:tasklet transaction-manager="" />)

    Your help is greatly appreciated.

    Stephan
Working...
X