Help: How to invoke stored procedure for batch update

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rainfaith
Posts: 2
Joined: Mon 02 Jul 2007 22:17

Help: How to invoke stored procedure for batch update

Post by rainfaith » Mon 02 Jul 2007 22:43

I have a list of records to update or insert into db via stored procedure, and because the delay of network flow is a bit high, I want to invoke the stored procedure for batch update, how to implement this?

Thank you for your help.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Tue 03 Jul 2007 13:43

Try to use CachedUpdates mode with the value of the UpdateBatchSize option more then 1. For more information please refer to ODAC help.

rainfaith
Posts: 2
Joined: Mon 02 Jul 2007 22:17

Post by rainfaith » Thu 12 Jul 2007 08:28

Thank you very much.

Post Reply