PostgreSQL JDBC API
2017-03-24 15:02
288 查看
The PostgreSQL JDBC Interface
Table of Contents
1.Introduction2.
Setting up the JDBC Driver
Getting the DriverSetting up the Class PathPreparing the Database Server for
JDBCCreating a Database3.
Initializing the Driver
Importing
JDBCLoading the DriverConnecting to the Database
Connection Parameters4.
Using SSL
Configuring the ServerConfiguring the Client
Using SSL without Certificate ValidationCustom SSLSocketFactory5.
Issuing a Query and Processing the Result
Getting results based on a cursorUsing the Statement or PreparedStatement InterfaceUsing the ResultSet InterfacePerforming UpdatesCreating and Modifying Database Objects6.
Calling Stored Functions
Obtaining a ResultSet from a stored function
From a Function Returning SETOF typeFrom a Function Returning a
refcursor7.
Storing Binary Data8.
JDBC escapes
Escape for like escape characterEscape for outer joinsDate-time escapesEscaped scalar functions9.
PostgreSQL™ Extensions to the JDBC
API
Accessing the ExtensionsGeometric Data TypesLarge ObjectsListen / NotifyServer Prepared Statements10.
Using the Driver in a Multithreaded or a Servlet Environment11.
Connection Pools and Data Sources
OverviewApplication Servers: ConnectionPoolDataSourceApplications: DataSourceTomcat setupData Sources and
JNDI12.
Further Reading
List of Tables
8.1.Supported escaped numeric functions8.2.
Supported escaped string functions8.3.
Supported escaped date/time functions8.4.
Supported escaped misc functions11.1.
ConnectionPoolDataSource Configuration Properties11.2.
DataSource Implementations11.3.
DataSource Configuration Properties11.4.
Additional Pooling DataSource Configuration Properties
List of Examples
5.1.Processing a Simple Query in JDBC5.2.
Setting fetch size to turn cursors on and off.5.3.
Deleting Rows in JDBC5.4.
Dropping a Table in JDBC6.1.
Calling a built in stored function6.2.
Getting SETOF type values fr
4000
om a function6.3.
Getting refcursor Value From a Function6.4.
Treating refcursor as a cursor name7.1.
Processing Binary Data in JDBC8.1.
Using jdbc escapes9.1.
Using the CIRCLE datatype from JDBC9.2.
Receiving Notifications9.3.
Using server side prepared statements11.1.
DataSource Code Example11.2.
DataSource JNDI Code Example
相关文章推荐
- PostgreSQL™ 扩展到 JDBC API 极品教程
- JDBC2.0扩展API(1)
- JDBC应用程序常见接口API和基本操作步骤
- JDBC连接数据库教程,以postgreSQL为例
- 实战 Eclipse ,Jigloo, PostgreSQL,JDBC 开发数据库查询应用系统起步(转)
- JDBC连接PostgreSQL数据库的若干问题
- JDBC连接之PostgreSQL数据库
- jdbc中关于postgresql schema的配置
- 详解Java的JDBC API的存储过程与SQL转义语法的使用
- spark通过jdbc访问postgresql数据库
- JDBC常用API小结
- 四、jdbc-API详解
- JavaEE JDBC 核心API
- postgresql 使用jdbc连接过程的分析
- api和spi,oracle的jdbc驱动为什么不开源
- JDBC API Interface in a Nutshell
- JDBC2.0扩展API
- JDBC连接数据库教程,以postgreSQL为例
- postgresql使用jdbc时,需要关注的事情
- JDBC写数据到文件中再Copy到postgresql中