Performs bulk operations This method wraps the native ups_db_bulk_operations function. @param txn The transaction; can be null @param operations An array of Operations which are executed
(Transaction txn, Operation[] operations)
| 293 | * @param operations An array of Operations which are executed |
| 294 | */ |
| 295 | public void bulkOperations(Transaction txn, Operation[] operations) |
| 296 | throws DatabaseException { |
| 297 | int status = ups_db_bulk_operations(m_handle, |
| 298 | txn != null ? txn.getHandle(): 0, operations, 0); |
| 299 | if (status != 0) |
| 300 | throw new DatabaseException(status); |
| 301 | } |
| 302 | |
| 303 | /** |
| 304 | * Retrieve the current value for a given Database setting |