public class NotClosingConnectionWrapper extends Object implements Connection
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected Connection |
_actualConnection |
protected boolean |
_keepActualIfClosed |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| コンストラクタと説明 |
|---|
NotClosingConnectionWrapper(Connection actualConnection) |
protected Connection _actualConnection
protected boolean _keepActualIfClosed
public NotClosingConnectionWrapper(Connection actualConnection)
public Connection getActualConnection()
public void keepActualIfClosed()
public void closeActualReally()
throws SQLException
SQLException - When it fails to handle the SQL.public void clearWarnings()
throws SQLException
clearWarnings インタフェース内 ConnectionSQLExceptionpublic void close()
throws SQLException
close インタフェース内 AutoCloseableclose インタフェース内 ConnectionSQLExceptionpublic void commit()
throws SQLException
commit インタフェース内 ConnectionSQLExceptionpublic Statement createStatement() throws SQLException
createStatement インタフェース内 ConnectionSQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement インタフェース内 ConnectionSQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement インタフェース内 ConnectionSQLExceptionpublic boolean getAutoCommit()
throws SQLException
getAutoCommit インタフェース内 ConnectionSQLExceptionpublic String getCatalog() throws SQLException
getCatalog インタフェース内 ConnectionSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability インタフェース内 ConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData インタフェース内 ConnectionSQLExceptionpublic int getTransactionIsolation()
throws SQLException
getTransactionIsolation インタフェース内 ConnectionSQLExceptionpublic Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap インタフェース内 ConnectionSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings インタフェース内 ConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed インタフェース内 ConnectionSQLExceptionpublic boolean isReadOnly()
throws SQLException
isReadOnly インタフェース内 ConnectionSQLExceptionpublic String nativeSQL(String sql) throws SQLException
nativeSQL インタフェース内 ConnectionSQLExceptionpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall インタフェース内 ConnectionSQLExceptionpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall インタフェース内 ConnectionSQLExceptionpublic CallableStatement prepareCall(String sql) throws SQLException
prepareCall インタフェース内 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement インタフェース内 ConnectionSQLExceptionpublic void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint インタフェース内 ConnectionSQLExceptionpublic void rollback()
throws SQLException
rollback インタフェース内 ConnectionSQLExceptionpublic void rollback(Savepoint savepoint) throws SQLException
rollback インタフェース内 ConnectionSQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws SQLException
setAutoCommit インタフェース内 ConnectionSQLExceptionpublic void setCatalog(String catalog) throws SQLException
setCatalog インタフェース内 ConnectionSQLExceptionpublic void setHoldability(int holdability)
throws SQLException
setHoldability インタフェース内 ConnectionSQLExceptionpublic void setReadOnly(boolean readOnly)
throws SQLException
setReadOnly インタフェース内 ConnectionSQLExceptionpublic Savepoint setSavepoint() throws SQLException
setSavepoint インタフェース内 ConnectionSQLExceptionpublic Savepoint setSavepoint(String name) throws SQLException
setSavepoint インタフェース内 ConnectionSQLExceptionpublic void setTransactionIsolation(int level)
throws SQLException
setTransactionIsolation インタフェース内 ConnectionSQLExceptionpublic void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap インタフェース内 ConnectionSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap インタフェース内 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor インタフェース内 WrapperSQLExceptionpublic Array createArrayOf(String typeName, Object[] elements) throws SQLException
createArrayOf インタフェース内 ConnectionSQLExceptionpublic Blob createBlob() throws SQLException
createBlob インタフェース内 ConnectionSQLExceptionpublic Clob createClob() throws SQLException
createClob インタフェース内 ConnectionSQLExceptionpublic NClob createNClob() throws SQLException
createNClob インタフェース内 ConnectionSQLExceptionpublic SQLXML createSQLXML() throws SQLException
createSQLXML インタフェース内 ConnectionSQLExceptionpublic Struct createStruct(String typeName, Object[] attributes) throws SQLException
createStruct インタフェース内 ConnectionSQLExceptionpublic Properties getClientInfo() throws SQLException
getClientInfo インタフェース内 ConnectionSQLExceptionpublic String getClientInfo(String name) throws SQLException
getClientInfo インタフェース内 ConnectionSQLExceptionpublic boolean isValid(int timeout)
throws SQLException
isValid インタフェース内 ConnectionSQLExceptionpublic void setClientInfo(Properties properties) throws SQLClientInfoException
setClientInfo インタフェース内 ConnectionSQLClientInfoExceptionpublic void setClientInfo(String name, String value) throws SQLClientInfoException
setClientInfo インタフェース内 ConnectionSQLClientInfoExceptionpublic void setSchema(String schema) throws SQLException
setSchema インタフェース内 ConnectionSQLExceptionpublic String getSchema() throws SQLException
getSchema インタフェース内 ConnectionSQLExceptionpublic void abort(Executor executor) throws SQLException
abort インタフェース内 ConnectionSQLExceptionpublic void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
setNetworkTimeout インタフェース内 ConnectionSQLExceptionpublic int getNetworkTimeout()
throws SQLException
getNetworkTimeout インタフェース内 ConnectionSQLExceptionCopyright © 2014–2015 The DBFlute Project. All rights reserved.