All Packages Class Hierarchy This Package Previous Next Index
Class org.xmlmiddleware.db.CPConnection
java.lang.Object
|
+----org.xmlmiddleware.db.CPConnection
- public class CPConnection
- extends Object
- implements Connection, CPConnectionEventSource
Wraps a pooled connection and its associated statement pool.
NOTE: To compile against JDBC 2.0, uncomment the methods
used by the 2.0 version of Connection.
- Version:
- 2.0
- Author:
- Sean Walter, 2001, Ronald Bourret, 2001
-
addConnectionEventListener(CPConnectionEventListener)
- public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public Map getTypeMap() throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public void setTypeMap(Map map) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
-
clearWarnings()
-
-
close()
-
-
commit()
-
-
createStatement()
-
-
getAutoCommit()
-
-
getCatalog()
-
-
getMetaData()
-
-
getTransactionIsolation()
-
-
getWarnings()
-
-
isClosed()
-
-
isReadOnly()
-
-
nativeSQL(String)
-
-
prepareCall(String)
-
-
prepareStatement(String)
-
-
removeConnectionEventListener(CPConnectionEventListener)
-
-
rollback()
-
-
setAutoCommit(boolean)
-
-
setCatalog(String)
-
-
setReadOnly(boolean)
-
-
setTransactionIsolation(int)
-
createStatement
public Statement createStatement() throws SQLException
prepareStatement
public PreparedStatement prepareStatement(String sql) throws SQLException
prepareCall
public CallableStatement prepareCall(String sql) throws SQLException
nativeSQL
public String nativeSQL(String sql) throws SQLException
setAutoCommit
public void setAutoCommit(boolean autoCommit) throws SQLException
getAutoCommit
public boolean getAutoCommit() throws SQLException
commit
public void commit() throws SQLException
rollback
public void rollback() throws SQLException
close
public void close() throws SQLException
isClosed
public boolean isClosed() throws SQLException
getMetaData
public DatabaseMetaData getMetaData() throws SQLException
setReadOnly
public void setReadOnly(boolean readOnly) throws SQLException
isReadOnly
public boolean isReadOnly() throws SQLException
setCatalog
public void setCatalog(String catalog) throws SQLException
getCatalog
public String getCatalog() throws SQLException
setTransactionIsolation
public void setTransactionIsolation(int level) throws SQLException
getTransactionIsolation
public int getTransactionIsolation() throws SQLException
getWarnings
public SQLWarning getWarnings() throws SQLException
clearWarnings
public void clearWarnings() throws SQLException
addConnectionEventListener
public void addConnectionEventListener(CPConnectionEventListener listener)
- public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public Map getTypeMap() throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
public void setTypeMap(Map map) throws SQLException
{ throw new SQLException("[XML-DBMS][CPConnection] Not implemented.", "HY000"); }
removeConnectionEventListener
public void removeConnectionEventListener(CPConnectionEventListener listener)
All Packages Class Hierarchy This Package Previous Next Index