public abstract class AbstractUnsupportedOperationConnection extends WrapperAdapter implements Connection
Connection
methods.TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Constructor and Description |
---|
AbstractUnsupportedOperationConnection() |
isWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getHoldability, getMetaData, getTransactionIsolation, getWarnings, isClosed, isReadOnly, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, rollback, setAutoCommit, setHoldability, setReadOnly, setTransactionIsolation
isWrapperFor, unwrap
public AbstractUnsupportedOperationConnection()
public final CallableStatement prepareCall(String sql) throws SQLException
prepareCall
in interface Connection
SQLException
public final CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall
in interface Connection
SQLException
public final CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall
in interface Connection
SQLException
public final String nativeSQL(String sql) throws SQLException
nativeSQL
in interface Connection
SQLException
public final Savepoint setSavepoint() throws SQLException
setSavepoint
in interface Connection
SQLException
public final Savepoint setSavepoint(String name) throws SQLException
setSavepoint
in interface Connection
SQLException
public final void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint
in interface Connection
SQLException
public final void rollback(Savepoint savepoint) throws SQLException
rollback
in interface Connection
SQLException
public final void abort(Executor executor) throws SQLException
abort
in interface Connection
SQLException
public final String getCatalog() throws SQLException
getCatalog
in interface Connection
SQLException
public final void setCatalog(String catalog) throws SQLException
setCatalog
in interface Connection
SQLException
public final String getSchema() throws SQLException
getSchema
in interface Connection
SQLException
public final void setSchema(String schema) throws SQLException
setSchema
in interface Connection
SQLException
public final Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap
in interface Connection
SQLException
public final void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap
in interface Connection
SQLException
public final int getNetworkTimeout() throws SQLException
getNetworkTimeout
in interface Connection
SQLException
public final void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
setNetworkTimeout
in interface Connection
SQLException
public final Clob createClob() throws SQLException
createClob
in interface Connection
SQLException
public final Blob createBlob() throws SQLException
createBlob
in interface Connection
SQLException
public final NClob createNClob() throws SQLException
createNClob
in interface Connection
SQLException
public final SQLXML createSQLXML() throws SQLException
createSQLXML
in interface Connection
SQLException
public final Array createArrayOf(String typeName, Object[] elements) throws SQLException
createArrayOf
in interface Connection
SQLException
public final Struct createStruct(String typeName, Object[] attributes) throws SQLException
createStruct
in interface Connection
SQLException
public final boolean isValid(int timeout) throws SQLException
isValid
in interface Connection
SQLException
public final Properties getClientInfo() throws SQLException
getClientInfo
in interface Connection
SQLException
public final String getClientInfo(String name) throws SQLException
getClientInfo
in interface Connection
SQLException
public final void setClientInfo(String name, String value)
setClientInfo
in interface Connection
public final void setClientInfo(Properties properties)
setClientInfo
in interface Connection
Copyright © 2018. All rights reserved.