|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.dbcp.impl.ConnectionWrapperImpl
ConnectionWrapper
の実装クラスです。
フィールドの概要 |
インタフェース java.sql.Connection から継承したフィールド |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
コンストラクタの概要 | |
ConnectionWrapperImpl(XAConnection xaConnection,
Connection physicalConnection,
ConnectionPool connectionPool,
Transaction tx)
ConnectionWrapperImpl を作成します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public ConnectionWrapperImpl(XAConnection xaConnection, Connection physicalConnection, ConnectionPool connectionPool, Transaction tx) throws SQLException
ConnectionWrapperImpl
を作成します。
xaConnection
- XAコネクションphysicalConnection
- 物理コネクションconnectionPool
- コネクションプールtx
- トランザクション
SQLException
- SQL例外が発生した場合メソッドの詳細 |
public Connection getPhysicalConnection()
ConnectionWrapper
の記述:
ConnectionWrapper
内の getPhysicalConnection
public XAResource getXAResource()
ConnectionWrapper
の記述:
ConnectionWrapper
内の getXAResource
public XAConnection getXAConnection()
ConnectionWrapper
の記述:
ConnectionWrapper
内の getXAConnection
public void init(Transaction tx)
ConnectionWrapper
の記述:
ConnectionWrapper
内の init
tx
- トランザクションpublic void cleanup()
ConnectionWrapper
の記述:
ConnectionWrapper
内の cleanup
public void closeReally()
ConnectionWrapper
の記述: Connection.close()
を呼び出すとプールに返るだけで実際にはクローズしません。
ConnectionWrapper
内の closeReally
public void release() throws SQLException
ConnectionWrapper
の記述:
ConnectionWrapper
内の release
SQLException
- SQL例外が発生した場合public void connectionClosed(ConnectionEvent event)
ConnectionEventListener
内の connectionClosed
public void connectionErrorOccurred(ConnectionEvent event)
ConnectionEventListener
内の connectionErrorOccurred
public Statement createStatement() throws SQLException
Connection
内の createStatement
SQLException
public PreparedStatement prepareStatement(String sql) throws SQLException
Connection
内の prepareStatement
SQLException
public CallableStatement prepareCall(String sql) throws SQLException
Connection
内の prepareCall
SQLException
public String nativeSQL(String sql) throws SQLException
Connection
内の nativeSQL
SQLException
public boolean isClosed() throws SQLException
Connection
内の isClosed
SQLException
public DatabaseMetaData getMetaData() throws SQLException
Connection
内の getMetaData
SQLException
public void setReadOnly(boolean readOnly) throws SQLException
Connection
内の setReadOnly
SQLException
public boolean isReadOnly() throws SQLException
Connection
内の isReadOnly
SQLException
public void setCatalog(String catalog) throws SQLException
Connection
内の setCatalog
SQLException
public String getCatalog() throws SQLException
Connection
内の getCatalog
SQLException
public void close() throws SQLException
Connection
内の close
SQLException
public void setTransactionIsolation(int level) throws SQLException
Connection
内の setTransactionIsolation
SQLException
public int getTransactionIsolation() throws SQLException
Connection
内の getTransactionIsolation
SQLException
public SQLWarning getWarnings() throws SQLException
Connection
内の getWarnings
SQLException
public void clearWarnings() throws SQLException
Connection
内の clearWarnings
SQLException
public void commit() throws SQLException
Connection
内の commit
SQLException
public void rollback() throws SQLException
Connection
内の rollback
SQLException
public void setAutoCommit(boolean autoCommit) throws SQLException
Connection
内の setAutoCommit
SQLException
public boolean getAutoCommit() throws SQLException
Connection
内の getAutoCommit
SQLException
public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
Connection
内の createStatement
SQLException
public Map getTypeMap() throws SQLException
Connection
内の getTypeMap
SQLException
public void setTypeMap(Map map) throws SQLException
Connection
内の setTypeMap
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
Connection
内の prepareStatement
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
Connection
内の prepareCall
SQLException
public void setHoldability(int holdability) throws SQLException
Connection
内の setHoldability
SQLException
public int getHoldability() throws SQLException
Connection
内の getHoldability
SQLException
public Savepoint setSavepoint() throws SQLException
Connection
内の setSavepoint
SQLException
public Savepoint setSavepoint(String name) throws SQLException
Connection
内の setSavepoint
SQLException
public void rollback(Savepoint savepoint) throws SQLException
Connection
内の rollback
SQLException
public void releaseSavepoint(Savepoint savepoint) throws SQLException
Connection
内の releaseSavepoint
SQLException
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
Connection
内の createStatement
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
Connection
内の prepareStatement
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
Connection
内の prepareCall
SQLException
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
Connection
内の prepareStatement
SQLException
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
Connection
内の prepareStatement
SQLException
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
Connection
内の prepareStatement
SQLException
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |