About This Manual
Who Should Read This Manual
Conventions
Introduction to the PSQL Java Interface
The PSQL Java Interface
Java Class Library and MicroKernel Engine
Database Concepts
Tightly-Coupled Databases
Loosely-Coupled Databases
How to Set Up your Environment
Supported JDKs
CLASSPATH Environment Variable
Windows CLASSPATH
Running the Video Store Java Sample Application
Viewing the Source of the Java Video Store Application
Developer Resources at PSQL
Website Resources
Javadocs Reference
Where Do I Go From Here?
Programming with the Java Class Library
PSQL Java Interface Class Structure
General Classes
Rowset Family Classes
Cursor Family Classes
Overview of Major Classes and Methods
DRIVER
SESSION
DATABASE
TABLE
ROWSET
ROW
Sequence of Steps for a Java Application
Case 1: The application is accessing tables of a tightly coupled database.
Case 2: The application is accessing data files of a loosely coupled database (or data files that store tables of a tightly coupled database in the "classic" way).
First Steps with the Java Class Library
Verify your Environment is Correct
Create your Database and Tables
Connect to a PSQL Database
To connect to a database using a URI
Obtain the Tables and Create Rowsets
Navigate the Rows in a Row Set
Restrict or Filter the Data
Insert, Update, or Delete Rows
Combine Operations into a Transaction
Store and Retrieve Binary Large Objects
Java Data Type Issues
Binary Large Object Support
Data inserted into a “one byte integer column” with the SQL Interface cannot be retrieved with the Java Interface
Sample Database Files
Additional Java Samples
About This Manual
Programming with the Java Class Library