public class JDBC4Connection extends JDBC3Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
JDBC4Connection(String url,
String fileName,
Properties prop) |
| Modifier and Type | Method and Description |
|---|---|
Array |
createArrayOf(String typeName,
Object[] elements) |
Blob |
createBlob() |
Clob |
createClob() |
NClob |
createNClob() |
SQLXML |
createSQLXML() |
Statement |
createStatement(int rst,
int rsc,
int rsh) |
Properties |
getClientInfo() |
String |
getClientInfo(String name) |
boolean |
isClosed() |
boolean |
isValid(int timeout) |
boolean |
isWrapperFor(Class<?> iface) |
PreparedStatement |
prepareStatement(String sql,
int rst,
int rsc,
int rsh) |
void |
setClientInfo(Properties properties) |
void |
setClientInfo(String name,
String value) |
<T> T |
unwrap(Class<T> iface) |
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, setTypeMapabort, addCommitListener, addUpdateListener, checkCursor, checkOpen, close, commit, extractPragmasFromFilename, getAutoCommit, getBusyTimeout, getConnectionConfig, getDatabase, getMetaData, getNetworkTimeout, getSchema, getSQLiteDatabaseMetaData, getTransactionIsolation, getUrl, libversion, removeCommitListener, removeUpdateListener, rollback, setAutoCommit, setBusyTimeout, setNetworkTimeout, setSchema, setTransactionIsolation, setTransactionModepublic JDBC4Connection(String url, String fileName, Properties prop) throws SQLException
SQLExceptionpublic Statement createStatement(int rst, int rsc, int rsh) throws SQLException
createStatement in interface ConnectioncreateStatement in class JDBC3ConnectionSQLExceptionConnection.createStatement(int, int, int)public PreparedStatement prepareStatement(String sql, int rst, int rsc, int rsh) throws SQLException
prepareStatement in interface ConnectionprepareStatement in class JDBC3ConnectionSQLExceptionConnection.prepareStatement(java.lang.String, int, int, int)public boolean isClosed()
throws SQLException
isClosed in interface ConnectionisClosed in class SQLiteConnectionSQLExceptionConnection.isClosed()public <T> T unwrap(Class<T> iface) throws ClassCastException
ClassCastExceptionpublic boolean isWrapperFor(Class<?> iface)
public Clob createClob() throws SQLException
SQLExceptionpublic Blob createBlob() throws SQLException
SQLExceptionpublic NClob createNClob() throws SQLException
SQLExceptionpublic SQLXML createSQLXML() throws SQLException
SQLExceptionpublic boolean isValid(int timeout)
throws SQLException
SQLExceptionpublic void setClientInfo(String name, String value) throws SQLClientInfoException
SQLClientInfoExceptionpublic void setClientInfo(Properties properties) throws SQLClientInfoException
SQLClientInfoExceptionpublic String getClientInfo(String name) throws SQLException
SQLExceptionpublic Properties getClientInfo() throws SQLException
SQLExceptionpublic Array createArrayOf(String typeName, Object[] elements) throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.