woolpack.sql.adapter
クラス ConnectionAdapter
java.lang.Object
woolpack.sql.adapter.ConnectionAdapter
- すべての実装されたインタフェース:
- Connection
public class ConnectionAdapter
- extends Object
- implements Connection
委譲するだけのConnection
です。
適用しているデザインパターン:Delegation。
メソッドの概要 |
void |
clearWarnings()
|
void |
close()
|
void |
commit()
|
Statement |
createStatement()
|
Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
|
Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
boolean |
getAutoCommit()
|
String |
getCatalog()
|
int |
getHoldability()
|
DatabaseMetaData |
getMetaData()
|
Connection |
getParent()
|
int |
getTransactionIsolation()
|
Map<String,Class<?>> |
getTypeMap()
|
SQLWarning |
getWarnings()
|
boolean |
isClosed()
|
boolean |
isReadOnly()
|
String |
nativeSQL(String sql)
|
CallableStatement |
prepareCall(String sql)
|
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
|
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
PreparedStatement |
prepareStatement(String sql)
|
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys)
|
PreparedStatement |
prepareStatement(String sql,
int[] columnIndexes)
|
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
|
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
PreparedStatement |
prepareStatement(String sql,
String[] columnNames)
|
void |
releaseSavepoint(Savepoint savepoint)
|
void |
rollback()
|
void |
rollback(Savepoint savepoint)
|
void |
setAutoCommit(boolean autoCommit)
|
void |
setCatalog(String catalog)
|
void |
setHoldability(int holdability)
|
void |
setParent(Connection parent)
|
void |
setReadOnly(boolean readOnly)
|
Savepoint |
setSavepoint()
|
Savepoint |
setSavepoint(String name)
|
void |
setTransactionIsolation(int level)
|
void |
setTypeMap(Map<String,Class<?>> map)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionAdapter
public ConnectionAdapter(Connection parent)
getParent
public Connection getParent()
setParent
public void setParent(Connection parent)
clearWarnings
public void clearWarnings()
throws SQLException
- 定義:
- インタフェース
Connection
内の clearWarnings
- 例外:
SQLException
close
public void close()
throws SQLException
- 定義:
- インタフェース
Connection
内の close
- 例外:
SQLException
commit
public void commit()
throws SQLException
- 定義:
- インタフェース
Connection
内の commit
- 例外:
SQLException
createStatement
public Statement createStatement()
throws SQLException
- 定義:
- インタフェース
Connection
内の createStatement
- 例外:
SQLException
createStatement
public Statement createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
- 定義:
- インタフェース
Connection
内の createStatement
- 例外:
SQLException
createStatement
public Statement createStatement(int resultSetType,
int resultSetConcurrency)
throws SQLException
- 定義:
- インタフェース
Connection
内の createStatement
- 例外:
SQLException
getAutoCommit
public boolean getAutoCommit()
throws SQLException
- 定義:
- インタフェース
Connection
内の getAutoCommit
- 例外:
SQLException
getCatalog
public String getCatalog()
throws SQLException
- 定義:
- インタフェース
Connection
内の getCatalog
- 例外:
SQLException
getHoldability
public int getHoldability()
throws SQLException
- 定義:
- インタフェース
Connection
内の getHoldability
- 例外:
SQLException
getMetaData
public DatabaseMetaData getMetaData()
throws SQLException
- 定義:
- インタフェース
Connection
内の getMetaData
- 例外:
SQLException
getTransactionIsolation
public int getTransactionIsolation()
throws SQLException
- 定義:
- インタフェース
Connection
内の getTransactionIsolation
- 例外:
SQLException
getTypeMap
public Map<String,Class<?>> getTypeMap()
throws SQLException
- 定義:
- インタフェース
Connection
内の getTypeMap
- 例外:
SQLException
getWarnings
public SQLWarning getWarnings()
throws SQLException
- 定義:
- インタフェース
Connection
内の getWarnings
- 例外:
SQLException
isClosed
public boolean isClosed()
throws SQLException
- 定義:
- インタフェース
Connection
内の isClosed
- 例外:
SQLException
isReadOnly
public boolean isReadOnly()
throws SQLException
- 定義:
- インタフェース
Connection
内の isReadOnly
- 例外:
SQLException
nativeSQL
public String nativeSQL(String sql)
throws SQLException
- 定義:
- インタフェース
Connection
内の nativeSQL
- 例外:
SQLException
prepareCall
public CallableStatement prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareCall
- 例外:
SQLException
prepareCall
public CallableStatement prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareCall
- 例外:
SQLException
prepareCall
public CallableStatement prepareCall(String sql)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareCall
- 例外:
SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareStatement
- 例外:
SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareStatement
- 例外:
SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql,
int autoGeneratedKeys)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareStatement
- 例外:
SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql,
int[] columnIndexes)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareStatement
- 例外:
SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql,
String[] columnNames)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareStatement
- 例外:
SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql)
throws SQLException
- 定義:
- インタフェース
Connection
内の prepareStatement
- 例外:
SQLException
releaseSavepoint
public void releaseSavepoint(Savepoint savepoint)
throws SQLException
- 定義:
- インタフェース
Connection
内の releaseSavepoint
- 例外:
SQLException
rollback
public void rollback()
throws SQLException
- 定義:
- インタフェース
Connection
内の rollback
- 例外:
SQLException
rollback
public void rollback(Savepoint savepoint)
throws SQLException
- 定義:
- インタフェース
Connection
内の rollback
- 例外:
SQLException
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws SQLException
- 定義:
- インタフェース
Connection
内の setAutoCommit
- 例外:
SQLException
setCatalog
public void setCatalog(String catalog)
throws SQLException
- 定義:
- インタフェース
Connection
内の setCatalog
- 例外:
SQLException
setHoldability
public void setHoldability(int holdability)
throws SQLException
- 定義:
- インタフェース
Connection
内の setHoldability
- 例外:
SQLException
setReadOnly
public void setReadOnly(boolean readOnly)
throws SQLException
- 定義:
- インタフェース
Connection
内の setReadOnly
- 例外:
SQLException
setSavepoint
public Savepoint setSavepoint()
throws SQLException
- 定義:
- インタフェース
Connection
内の setSavepoint
- 例外:
SQLException
setSavepoint
public Savepoint setSavepoint(String name)
throws SQLException
- 定義:
- インタフェース
Connection
内の setSavepoint
- 例外:
SQLException
setTransactionIsolation
public void setTransactionIsolation(int level)
throws SQLException
- 定義:
- インタフェース
Connection
内の setTransactionIsolation
- 例外:
SQLException
setTypeMap
public void setTypeMap(Map<String,Class<?>> map)
throws SQLException
- 定義:
- インタフェース
Connection
内の setTypeMap
- 例外:
SQLException
Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.