Support for SCROLL_INSENSITIVE result sets in jConnect  Implementation notes

Chapter 2: Programming Information

Support for batch updates

Batch updates allow a Statement object to submit multiple update commands as one unit (batch) to an underlying database for processing together.

NoteTo 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. Implementation notes

View this book as PDF