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
List of Tables
8.1.
Supported escaped numeric functions
8.2.
Supported escaped string functions
8.3.
Supported escaped date/time functions
8.4.
Supported escaped misc functions
11.1.
ConnectionPoolDataSource Configuration Properties
11.2.
DataSource Implementations
11.3.
DataSource Configuration Properties
11.4.
Additional Pooling DataSource Configuration Properties
List of Examples
5.1.
Processing a Simple Query in
JDBC
5.2.
Setting fetch size to turn cursors on and off.
5.3.
Deleting Rows in
JDBC
5.4.
Dropping a Table in
JDBC
6.1.
Calling a built in stored function
6.2.
Getting SETOF type values from a function
6.3.
Getting
refcursor
Value From a Function
6.4.
Treating
refcursor
as a cursor name
7.1.
Processing Binary Data in
JDBC
8.1.
Using jdbc escapes
9.1.
Using the CIRCLE datatype from
JDBC
9.2.
Receiving Notifications
9.3.
Using server side prepared statements
11.1.
DataSource Code Example
11.2.
DataSource
JNDI
Code Example
Next
Chapter 1. Introduction
About LightDB
Copyright © 1996-2024, Hundsun Technologies, Inc