InterClient Programmer's Guide
Preface
About This Document
What You Need to Know to Use InterClient
Where to Find More Information
Overview of InterClient
About the JDBC API
Figure 1 - JDBC Architecture
JDBC Compliance
Why Use Java?
About InterClient
InterClient Audience
InterClient Architecture
Figure 2 - InterClient Architecture
InterClient Communication
Developing InterClient Programs
Using the JDBC (java.sql) Interfaces
Figure 3 - JDBC Interfaces
Importing the InterClient Classes
The DriverManager Class
The Driver Class
Multi-threading
The Connection Class
About InterClient Drivers
Loading the InterClient Driver
Creating the InterClient Driver Explicitly
Using java.sql.Driver Methods
What NOT to do: InterClient-Only object instances
Accessing InterClient Extensions to the JDBC
Opening a Database Connection
Using the DriverManager to Get a Connection
Using InterClient Driver Object to Get a Connection
Which Method to Use: the Driver's or DriverManager's?
Defining Connection Parameters
Syntax for Specifying Database URLs
Defining an InterClient URL
Examples
Defining the Connection Properties
Security
Executing SQL Statements
Classes for Executing SQL Statements
The Statement Class
The PreparedStatement Class
The CallableStatement Class
Creating a Statement Object.
Querying Data
Selecting Data With the Statement Class
Selecting Data With PreparedStatement
Finalizing Objects
Modifying Data
Inserting Data
Updating Data With the Statement Class
Updating Data With PreparedStatement
Deleting Data
Executing Stored Procedures
Statement Example
PreparedStatement Example
Troubleshooting InterClient Programs
Handling Installation Problems
Debugging Your Application
Deploying InterClient Programs
Deploying InterClient Programs as Applets
Figure 4 - Using Applets to access InterBase
Client Components
Server Components
Pros of Applet Deployment
Cons of Applet Deployment
Deploying InterClient Programs as Applications
Figure 5 - Using stand-alone Java applications toaccess InterBase
Client Components
Server Components
package interbase.interclient (Version 0.92)
Class Hierarchy