Save This Page
Home » xapool-1.5.0-src » org.enhydra.jdbc » core » [javadoc | source]
org.enhydra.jdbc.core
abstract public class: CoreConnection [javadoc | source]
java.lang.Object
   org.enhydra.jdbc.util.JdbcUtil
      org.enhydra.jdbc.core.CoreConnection

All Implemented Interfaces:
    Connection

Direct Known Subclasses:
    SybaseConnectionHandle, StandardConnectionHandle, StandardXAConnectionHandle, InformixConnectionHandle

This is an implementation of java.sql.Connection which simply delegates everything to an underlying physical implemention of the same interface.
Field Summary
public  Connection con     
Fields inherited from org.enhydra.jdbc.util.JdbcUtil:
log
Constructor:
 public CoreConnection() 
 public CoreConnection(Connection con) 
    Constructor
Method from org.enhydra.jdbc.core.CoreConnection Summary:
catchInvoke,   clearWarnings,   close,   commit,   createStatement,   createStatement,   createStatement,   getAutoCommit,   getCatalog,   getHoldability,   getMetaData,   getTransactionIsolation,   getTypeMap,   getWarnings,   isReadOnly,   nativeSQL,   preInvoke,   prepareCall,   prepareCall,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   releaseSavepoint,   rollback,   rollback,   setAutoCommit,   setCatalog,   setHoldability,   setReadOnly,   setSavepoint,   setSavepoint,   setTransactionIsolation,   setTypeMap
Methods from org.enhydra.jdbc.util.JdbcUtil:
setLogger
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.enhydra.jdbc.core.CoreConnection Detail:
 abstract public  void catchInvoke(SQLException e) throws SQLException
 public  void clearWarnings() throws SQLException 
 public  void close() throws SQLException 
 public  void commit() throws SQLException 
 public Statement createStatement() throws SQLException 
 public Statement createStatement(int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public Statement createStatement(int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public boolean getAutoCommit() throws SQLException 
 public String getCatalog() throws SQLException 
 public int getHoldability() throws SQLException 
 public DatabaseMetaData getMetaData() throws SQLException 
 public int getTransactionIsolation() throws SQLException 
 public Map getTypeMap() throws SQLException 
 public SQLWarning getWarnings() throws SQLException 
 public boolean isReadOnly() throws SQLException 
 public String nativeSQL(String sql) throws SQLException 
 abstract public  void preInvoke() throws SQLException
    Methods used to do some works before and during the catch clause, to prevent the pool that a connection is broken.
 public CallableStatement prepareCall(String sql) throws SQLException 
 public CallableStatement prepareCall(String sql,
    int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public PreparedStatement prepareStatement(String sql) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int autoGeneratedKeys) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int[] columnIndexes) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    String[] columnNames) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public  void releaseSavepoint(Savepoint savepoint) throws SQLException 
 public  void rollback() throws SQLException 
 public  void rollback(Savepoint savepoint) throws SQLException 
 public  void setAutoCommit(boolean autoCommit) throws SQLException 
 public  void setCatalog(String catalog) throws SQLException 
 public  void setHoldability(int holdability) throws SQLException 
 public  void setReadOnly(boolean readOnly) throws SQLException 
 public Savepoint setSavepoint() throws SQLException 
 public Savepoint setSavepoint(String name) throws SQLException 
 public  void setTransactionIsolation(int level) throws SQLException 
 public  void setTypeMap(Map map) throws SQLException