10.07.2015 Views

JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Schema locksThe default behavior of the <strong>Cincom</strong> ORDB Client API is to maintain schema readlocks across transaction boundaries (controlled by the KEEP_SCHEMA_LOCKSparameter). This can cause unwanted concurrency problems. You can controlwhether or not schema locks are attempted to be held across transactionboundaries by making use of two methods of the ordbConnection class:♦♦commit(boolean releaseSchemaLocks)rollback(boolean releaseSchemaLocks)For more information on the ordbConnection class methods, refer to thejavadoc located in your %ORDB%\docs\jdbc\ordbjava directory.<strong>JDBC</strong> <strong>Developer's</strong> <strong>Guide</strong>, P25-9504-03 Page 91Chapter: 6. Coding tips and troubleshootingSection: Performance optimization

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!