The LightDB JDBC Interface


Table of Contents

1. Introduction
2. Setting up the JDBC Driver
Getting the Driver
Setting up the Class Path
Preparing the Database Server for JDBC
Creating a Database
3. Initializing the Driver
Importing JDBC
Loading the Driver
Connecting to the Database
Connection Parameters
Environment Parameters
4. Using SSL
Configuring the Server
Configuring the Client
Using SSL without Certificate Validation
Custom SSLSocketFactory
5. Issuing a Query and Processing the Result
Getting results based on a cursor
Using the Statement or PreparedStatement Interface
Using the ResultSet Interface
Performing Updates
Creating and Modifying Database Objects
Using Java 8 Date and Time classes
6. Calling Stored Functions and Procedures
Obtaining a ResultSet from a stored function
From a Function Returning SETOF type
From a Function Returning a refcursor
Calling stored procedure with transaction control
7. Storing Binary Data
8. JDBC escapes
Escape for like escape character
Escape for outer joins
Date-time escapes
Escaped scalar functions
9. LightDB™ Extensions to the JDBC API
Accessing the Extensions
Geometric Data Types
Large Objects
Listen / Notify
Server Prepared Statements
Parameter Status Messages
Physical and Logical replication API
Arrays
10. Using the Driver in a Multithreaded or a Servlet Environment
11. Connection Pools and Data Sources
Overview
Application Servers: ConnectionPoolDataSource
Applications: DataSource
Tomcat setup
Data Sources and JNDI
12. Logging with java.util.logging
13. Further Reading
14. Release Note
About LightDB
Copyright © 1996-2024,  Hundsun Technologies, Inc