Package org.sqlite.jdbc4
Class JDBC4Connection
java.lang.Object
org.sqlite.SQLiteConnection
org.sqlite.jdbc3.JDBC3Connection
org.sqlite.jdbc4.JDBC4Connection
- All Implemented Interfaces:
AutoCloseable
,Connection
,Wrapper
-
Field Summary
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateArrayOf
(String typeName, Object[] elements) createStatement
(int rst, int rsc, int rsh) getClientInfo
(String name) boolean
isClosed()
boolean
isValid
(int timeout) boolean
isWrapperFor
(Class<?> iface) prepareStatement
(String sql, int rst, int rsc, int rsh) void
setClientInfo
(String name, String value) void
setClientInfo
(Properties properties) <T> T
Methods inherited from class org.sqlite.jdbc3.JDBC3Connection
clearWarnings, createStatement, createStatement, createStruct, getCatalog, getHoldability, getTypeMap, getWarnings, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTypeMap, tryEnforceTransactionMode
Methods inherited from class org.sqlite.SQLiteConnection
abort, addCommitListener, addUpdateListener, checkCursor, checkOpen, close, commit, deserialize, extractPragmasFromFilename, getAutoCommit, getBusyTimeout, getConnectionConfig, getCurrentTransactionMode, getDatabase, getLimit, getMetaData, getNetworkTimeout, getSchema, getSQLiteDatabaseMetaData, getTransactionIsolation, getUrl, isFirstStatementExecuted, libversion, removeCommitListener, removeUpdateListener, rollback, serialize, setAutoCommit, setBusyTimeout, setCurrentTransactionMode, setFirstStatementExecuted, setLimit, setNetworkTimeout, setSchema, setTransactionIsolation, setTransactionMode, transactionPrefix
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
Constructor Details
-
JDBC4Connection
- Throws:
SQLException
-
-
Method Details
-
createStatement
- Specified by:
createStatement
in interfaceConnection
- Specified by:
createStatement
in classJDBC3Connection
- Throws:
SQLException
- See Also:
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int rst, int rsc, int rsh) throws SQLException - Specified by:
prepareStatement
in interfaceConnection
- Specified by:
prepareStatement
in classJDBC3Connection
- Throws:
SQLException
- See Also:
-
isClosed
- Specified by:
isClosed
in interfaceConnection
- Overrides:
isClosed
in classSQLiteConnection
- Throws:
SQLException
- See Also:
-
unwrap
- Throws:
ClassCastException
-
isWrapperFor
-
createClob
- Throws:
SQLException
-
createBlob
- Throws:
SQLException
-
createNClob
- Throws:
SQLException
-
createSQLXML
- Throws:
SQLException
-
isValid
- Throws:
SQLException
-
setClientInfo
- Throws:
SQLClientInfoException
-
setClientInfo
- Throws:
SQLClientInfoException
-
getClientInfo
- Throws:
SQLException
-
getClientInfo
- Throws:
SQLException
-
createArrayOf
- Throws:
SQLException
-