Batch updates allow a Statement object to submit multiple update commands as one unit (batch) to an underlying database for processing together.
To use batch updates, you must install the latest metadata
scripts provided in the sp directory under
your jConnect installation directory.
See BatchUpdates.java in the sample2 subdirectories for an example of using batch updates with Statement, PreparedStatement, and CallableStatement.
jConnect also supports dynamic PreparedStatements in batch.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |