convert update call to batchupdate call


I have a scenerio in which we are calling JDBC adapter update service from my custom flow service.My custom flow service is invoked heavily and this is eating up lot of databaseconnections[becuase of JDBC update call].
I am planning to use batch update from my custom flow service to reduce traffic between my IS and database.
This is a scenerio of converting a jdbc update into jdbcbatch update.
What would be the best approach as I had used savepipeline/restorepipeline to create a documentlist in memory and invoke batchupdate which is not a recommended approach.

We are using Integrationserver 6.1
Any thoughts on this.

Thank you