JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom JDBC Developer's Guide - Supra - Cincom

10.07.2015 Views

conn.close();System.out.println ("Your Cincom ORDB JDBC installation is correct.");}// Utility function to read a line from standard inputstatic String readEntry (String prompt) {try {StringBuffer buffer = new StringBuffer ();System.out.print (prompt);System.out.flush ();int c = System.in.read ();while (c != '\n' && c != -1) {buffer.append ((char)c);c = System.in.read ();}return buffer.toString ().trim ();} catch (IOException e) {return "";}}}JDBC Developer's Guide, P25-9504-03 Page 18Chapter: 2. Verifying a JDBC Driver installationSection: Check the environment variables

3. Basic FeaturesIntroductionThis chapter covers the basic steps taken in any JDBC application. It alsodescribes additional Java and JDBC features supported by the Cincom ORDBJDBC driver, including the following topics:♦ How to get up and running with the Cincom ORDB JDBC driver♦♦♦Example of connecting, querying, and processing the resultsDatatype mappingsError messages and JDBCJDBC Developer's Guide, P25-9504-03 Page 19Chapter: 3. Basic FeaturesSection: Introduction

3. Basic FeaturesIntroductionThis chapter covers the basic steps taken in any <strong>JDBC</strong> application. It alsodescribes additional Java and <strong>JDBC</strong> features supported by the <strong>Cincom</strong> ORDB<strong>JDBC</strong> driver, including the following topics:♦ How to get up and running with the <strong>Cincom</strong> ORDB <strong>JDBC</strong> driver♦♦♦Example of connecting, querying, and processing the resultsDatatype mappingsError messages and <strong>JDBC</strong><strong>JDBC</strong> <strong>Developer's</strong> <strong>Guide</strong>, P25-9504-03 Page 19Chapter: 3. Basic FeaturesSection: Introduction

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

Saved successfully!

Ooh no, something went wrong!