Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.2.1 |  CUBRID 8.3.0 |  CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

JDBC API

For details about JDBC API, see Java API Specification (http://docs.oracle.com/javase/7/docs/api/) and for details about Java, see Java SE Documentation (http://www.oracle.com/technetwork/java/javase/documentation/index.html).

The following table shows the JDBC standard and extended interface supported by CUBRID. Note that some methods are not supported even though they are included in the JDBC 2.0 specification.

Supported JDBC Interface by CUBRID

JDBC Standard Interface

JDBC Extended Interface

Supported

java.sql.Blob
java.sql.CallableStatement
java.sql.Clob
java.sql.Connection
java.sql.DatabaseMetaData
java.sql.Driver
java.sql.PreparedStatement
java.sql.ResultSet java.sql.ResultSetMetaData







java.sql.CUBRIDPreparedStatement
java.sql.CUBRIDResultSet
java.sql.CUBRIDResultSetMetaData
CUBRIDOID

Supported

java.sql.Statement

java.sql.CUBRIDStatement

The getGeneratedKeys() method of JDBC 3.0 is supported.

java.sql.DriverManager

 

Supported

Java.sql.SQLException

Java.sql.CUBRIDException

Supported

java.sql.Array
java.sql.ParameterMetaData
java.sql.Ref
java.sql.Savepoint
java.sql.SQLData
java.sql.SQLInput
java.sql.Struct

 

Not Supported

Caution From CUBRID 2008 R4.3 version, the behavior of batching the queries on the autocommit mode was changed . The methods that batch the queries are PreparedStatement.executeBatch and Statement.executeBatch. Until 2008 R4.1 version, these methods had  committed the transaction after executing all queries on the array. From 2008 R4.3, they commit each query on the array.

Note To get the latest information about JDBC driver, click http://www.cubrid.org/wiki_apis/entry/cubrid-jdbc-driver.