org.asyrinx.brownie.jdbc.wrapper
クラス ConnectionWrapper

java.lang.Object
  拡張org.asyrinx.brownie.core.util.Wrapper
      拡張org.asyrinx.brownie.jdbc.wrapper.ConnectionWrapper
すべての実装インタフェース:
java.sql.Connection
直系の既知のサブクラス:
LeakCheckConnection, LogConnection, SqlLoadableConnection

public class ConnectionWrapper
extends Wrapper
implements java.sql.Connection

作成者:
Akima

フィールドの概要
protected  java.sql.Connection source
           
 
クラス org.asyrinx.brownie.core.util.Wrapper から継承したフィールド
wrapped
 
インタフェース java.sql.Connection から継承したフィールド
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
コンストラクタの概要
ConnectionWrapper(java.sql.Connection source)
          Constructor for ConnectionWrapper.
 
メソッドの概要
 void clearWarnings()
           
 void close()
           
 void commit()
           
 java.sql.Statement createStatement()
           
 java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency)
           
 java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 boolean getAutoCommit()
           
 java.lang.String getCatalog()
           
 int getHoldability()
           
 java.sql.DatabaseMetaData getMetaData()
           
 java.sql.Connection getSource()
          Returns the source.
 int getTransactionIsolation()
           
 java.util.Map getTypeMap()
           
 java.sql.SQLWarning getWarnings()
           
 boolean isClosed()
           
 boolean isReadOnly()
           
 java.lang.String nativeSQL(java.lang.String sql)
           
 java.sql.CallableStatement prepareCall(java.lang.String sql)
           
 java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency)
           
 java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int[] columnIndexes)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String sql, java.lang.String[] columnNames)
           
 void releaseSavepoint(java.sql.Savepoint savepoint)
           
 void rollback()
           
 void rollback(java.sql.Savepoint savepoint)
           
 void setAutoCommit(boolean autoCommit)
           
 void setCatalog(java.lang.String catalog)
           
 void setHoldability(int holdability)
           
 void setReadOnly(boolean readOnly)
           
 java.sql.Savepoint setSavepoint()
           
 java.sql.Savepoint setSavepoint(java.lang.String name)
           
 void setTransactionIsolation(int level)
           
 void setTypeMap(java.util.Map map)
           
 
クラス org.asyrinx.brownie.core.util.Wrapper から継承したメソッド
getCore, getCoreWrapped, getWrapped
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

source

protected final java.sql.Connection source
コンストラクタの詳細

ConnectionWrapper

public ConnectionWrapper(java.sql.Connection source)
Constructor for ConnectionWrapper.

メソッドの詳細

getSource

public java.sql.Connection getSource()
Returns the source.

戻り値:
Connection

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の clearWarnings
例外:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の close
例外:
java.sql.SQLException

commit

public void commit()
            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の commit
例外:
java.sql.SQLException

createStatement

public java.sql.Statement createStatement()
                                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の createStatement
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

createStatement

public java.sql.Statement createStatement(int resultSetType,
                                          int resultSetConcurrency)
                                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の createStatement
パラメータ:
resultSetType -
resultSetConcurrency -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

createStatement

public java.sql.Statement createStatement(int resultSetType,
                                          int resultSetConcurrency,
                                          int resultSetHoldability)
                                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の createStatement
パラメータ:
resultSetType -
resultSetConcurrency -
resultSetHoldability -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getAutoCommit

public boolean getAutoCommit()
                      throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getAutoCommit
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getCatalog

public java.lang.String getCatalog()
                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getCatalog
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getHoldability

public int getHoldability()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getHoldability
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getMetaData

public java.sql.DatabaseMetaData getMetaData()
                                      throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getMetaData
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getTransactionIsolation

public int getTransactionIsolation()
                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getTransactionIsolation
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getTypeMap

public java.util.Map getTypeMap()
                         throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getTypeMap
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の getWarnings
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

isClosed

public boolean isClosed()
                 throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の isClosed
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

isReadOnly

public boolean isReadOnly()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の isReadOnly
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

nativeSQL

public java.lang.String nativeSQL(java.lang.String sql)
                           throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の nativeSQL
パラメータ:
sql -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql)
                                       throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareCall
パラメータ:
sql -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql,
                                              int resultSetType,
                                              int resultSetConcurrency)
                                       throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareCall
パラメータ:
sql -
resultSetType -
resultSetConcurrency -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String sql,
                                              int resultSetType,
                                              int resultSetConcurrency,
                                              int resultSetHoldability)
                                       throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareCall
パラメータ:
sql -
resultSetType -
resultSetConcurrency -
resultSetHoldability -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql)
                                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareStatement
パラメータ:
sql -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int autoGeneratedKeys)
                                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareStatement
パラメータ:
sql -
autoGeneratedKeys -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int resultSetType,
                                                   int resultSetConcurrency)
                                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareStatement
パラメータ:
sql -
resultSetType -
resultSetConcurrency -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int resultSetType,
                                                   int resultSetConcurrency,
                                                   int resultSetHoldability)
                                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareStatement
パラメータ:
sql -
resultSetType -
resultSetConcurrency -
resultSetHoldability -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   int[] columnIndexes)
                                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareStatement
パラメータ:
sql -
columnIndexes -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String sql,
                                                   java.lang.String[] columnNames)
                                            throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の prepareStatement
パラメータ:
sql -
columnNames -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

releaseSavepoint

public void releaseSavepoint(java.sql.Savepoint savepoint)
                      throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の releaseSavepoint
パラメータ:
savepoint -
例外:
java.sql.SQLException

rollback

public void rollback()
              throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の rollback
例外:
java.sql.SQLException

rollback

public void rollback(java.sql.Savepoint savepoint)
              throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の rollback
パラメータ:
savepoint -
例外:
java.sql.SQLException

setAutoCommit

public void setAutoCommit(boolean autoCommit)
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setAutoCommit
パラメータ:
autoCommit -
例外:
java.sql.SQLException

setCatalog

public void setCatalog(java.lang.String catalog)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setCatalog
パラメータ:
catalog -
例外:
java.sql.SQLException

setHoldability

public void setHoldability(int holdability)
                    throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setHoldability
パラメータ:
holdability -
例外:
java.sql.SQLException

setReadOnly

public void setReadOnly(boolean readOnly)
                 throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setReadOnly
パラメータ:
readOnly -
例外:
java.sql.SQLException

setSavepoint

public java.sql.Savepoint setSavepoint()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setSavepoint
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

setSavepoint

public java.sql.Savepoint setSavepoint(java.lang.String name)
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setSavepoint
パラメータ:
name -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

setTransactionIsolation

public void setTransactionIsolation(int level)
                             throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setTransactionIsolation
パラメータ:
level -
例外:
java.sql.SQLException

setTypeMap

public void setTypeMap(java.util.Map map)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Connection 内の setTypeMap
パラメータ:
map -
例外:
java.sql.SQLException


Copyright © 2004 asyrinx organization. All Rights Reserved.