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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6. Coding tips and troubleshooting .................................................. 85Introduction .............................................................................................. 85<strong>JDBC</strong> and multi-threading .............................................................................. 86Performance optimization ............................................................................. 87Disabling auto-commit mode ..................................................................... 87Using the array interface ......................................................................... 88Automatic custom mapping ....................................................................... 89Connection pooling ................................................................................. 89Trapping exceptions ............................................................................... 90Schema locks ........................................................................................ 91Logging <strong>JDBC</strong> calls ...................................................................................... 92A. <strong>JDBC</strong> Samples ......................................................................... 93Prerequisites ............................................................................................. 93Accessing <strong>JDBC</strong> samples ................................................................................ 94Sample programs ........................................................................................ 95Index ....................................................................................... 96<strong>JDBC</strong> <strong>Developer's</strong> <strong>Guide</strong>, P25-9504-03 6Contents

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

Saved successfully!

Ooh no, something went wrong!