public abstract class JDBC4Connection extends JDBC3Connection implements Connection
autoCommit, beginCommandMap, dateClass, dateFormat, dateMultiplier, datePrecision, dateStringFormat, db, meta, openModeFlags, transactionIsolation, transactionMode
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) |
DatabaseMetaData |
getMetaData() |
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, commit, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getHoldability, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
checkCursor, checkOpen, close, db, finalize, getBusyTimeout, getDriverVersion, libversion, setBusyTimeout, setTransactionMode, url
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, clearWarnings, close, commit, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getHoldability, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap
public JDBC4Connection(String url, String fileName, Properties prop) throws SQLException
SQLException
public DatabaseMetaData getMetaData() throws SQLException
getMetaData
in interface Connection
getMetaData
in class JDBC3Connection
SQLException
public Statement createStatement(int rst, int rsc, int rsh) throws SQLException
createStatement
in interface Connection
createStatement
in class JDBC3Connection
SQLException
Connection.createStatement(int, int, int)
public PreparedStatement prepareStatement(String sql, int rst, int rsc, int rsh) throws SQLException
prepareStatement
in interface Connection
prepareStatement
in class JDBC3Connection
SQLException
Connection.prepareStatement(java.lang.String, int, int, int)
public boolean isClosed() throws SQLException
isClosed
in interface Connection
SQLException
Connection.isClosed()
public <T> T unwrap(Class<T> iface) throws ClassCastException
unwrap
in interface Wrapper
ClassCastException
public boolean isWrapperFor(Class<?> iface)
isWrapperFor
in interface Wrapper
public Clob createClob() throws SQLException
createClob
in interface Connection
SQLException
public Blob createBlob() throws SQLException
createBlob
in interface Connection
SQLException
public NClob createNClob() throws SQLException
createNClob
in interface Connection
SQLException
public SQLXML createSQLXML() throws SQLException
createSQLXML
in interface Connection
SQLException
public boolean isValid(int timeout) throws SQLException
isValid
in interface Connection
SQLException
public void setClientInfo(String name, String value) throws SQLClientInfoException
setClientInfo
in interface Connection
SQLClientInfoException
public void setClientInfo(Properties properties) throws SQLClientInfoException
setClientInfo
in interface Connection
SQLClientInfoException
public String getClientInfo(String name) throws SQLException
getClientInfo
in interface Connection
SQLException
public Properties getClientInfo() throws SQLException
getClientInfo
in interface Connection
SQLException
public Array createArrayOf(String typeName, Object[] elements) throws SQLException
createArrayOf
in interface Connection
SQLException
Copyright © 2016. All rights reserved.