Reputation: 6499
This question is regarding "Spring Integration" using JdbcTemplates and not usual Spring with JdbcTemplates (for which several examples are available on the web).
I have been following up with documentations and examples for Spring-Integration with JDBC Outbound Gateway. These all are fine for basic sql queries. Also the documentation says that Spring-Integration can work either with dataSource (examples provided) or a jdbcTemplate (examples not provided).
Basically, I wanted to know, if we want to implement a batchUpdate (which is available in jdbcTemplate), how should we specify? Lets say, if we have the following Spring-Context file?
Upvotes: 1
Views: 446
Reputation: 174564
Spring Integration does not currently support batch JDBC updates. But, you can easily use a JdbcTemplate
within your code (a POJO) and invoke it using a <service-activator/>
.
Upvotes: 1