Reputation: 57
I am working on a Spring integration application, I have a List of Maps which I need to insert into a table.
I have used jdbc:outbound-gateway or adapter to insert a record to the table.
But how to insert all records from my list of map using jdbc:outbound-gateway.
Upvotes: 1
Views: 164
Reputation: 121177
Use <splitter>
upstream to your <int-jdbc:outbound-gateway>
.
We have an issue on the matter, but before that fix we should split our collections before insert.
Upvotes: 1