![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e264. Determining If a Database Supports BatchingWith batch updating, a set of SQL statements is assembled and then sent altogether to the database for execution. Batch updating can improve performance.try { DatabaseMetaData dmd = connection.getMetaData(); if (dmd.supportsBatchUpdates()) { // Batching is supported } else { // Batching is not supported } } catch (SQLException e) { }
© 2002 Addison-Wesley. |