| java.lang.Object com.caucho.sql.spy.SpyConnection
Field Summary | |
final protected static L10N | L | final protected static Logger | log | final protected static Logger | logXA |
Method Summary | |
public void | clearWarnings() | public void | close() Reset the connection and return the underlying JDBC connection to
the pool. | public void | commit() | public Array | createArrayOf(String typeName, Object[] elements) | public Blob | createBlob() | public Clob | createClob() | public NClob | createNClob() | public SQLXML | createSQLXML() | public Statement | createStatement() JDBC api to create a new statement. | public Statement | createStatement(int resultSetType, int resultSetConcurrency) JDBC api to create a new statement. | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public String | createStatementId() Returns a new statement id. | public Struct | createStruct(String typeName, Object[] attributes) | public boolean | getAutoCommit() | public String | getCatalog() JDBC api to return the connection's catalog. | public String | getClientInfo(String name) | public Properties | getClientInfo() | public Connection | getConnection() Returns the underlying connection. | public int | getHoldability() | public String | getId() Returns the id. | public DatabaseMetaData | getMetaData() Gets the connection's metadata. | public int | getTransactionIsolation() | public Map | getTypeMap() Returns the connection's type map. | public SQLWarning | getWarnings() | public boolean | isClosed() Returns true if the connection is closed. | public boolean | isReadOnly() | public boolean | isValid(int timeout) | public boolean | isWrapperFor(Class> iface) | public String | nativeSQL(String sql) Calls the nativeSQL method for the connection. | public CallableStatement | prepareCall(String sql) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql) | public PreparedStatement | prepareStatement(String sql, int resultSetType) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) | public PreparedStatement | prepareStatement(String sql, String[] columnNames) | public void | releaseSavepoint(Savepoint savepoint) | public void | rollback() | public void | rollback(Savepoint savepoint) | public void | setAutoCommit(boolean autoCommit) | public void | setCatalog(String catalog) Sets the JDBC catalog. | public void | setClientInfo(String name, String value) | public void | setClientInfo(Properties properties) | public void | setHoldability(int hold) | public void | setReadOnly(boolean readOnly) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String name) | public void | setTransactionIsolation(int isolation) | public void | setTypeMap(Map<String, Class<?>> map) Sets the connection's type map. | public String | toString() | public T | unwrap(Class<T> iface) |
L | final protected static L10N L(Code) | | |
close | public void close() throws SQLException(Code) | | Reset the connection and return the underlying JDBC connection to
the pool.
|
createStatement | public Statement createStatement() throws SQLException(Code) | | JDBC api to create a new statement. Any SQL exception thrown here
will make the connection invalid, i.e. it can't be put back into
the pool.
a new JDBC statement. |
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException(Code) | | JDBC api to create a new statement. Any SQL exception thrown here
will make the connection invalid, i.e. it can't be put back into
the pool.
a new JDBC statement. |
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
createStatementId | public String createStatementId()(Code) | | Returns a new statement id.
|
getCatalog | public String getCatalog() throws SQLException(Code) | | JDBC api to return the connection's catalog.
the JDBC catalog. |
getConnection | public Connection getConnection()(Code) | | Returns the underlying connection.
|
isClosed | public boolean isClosed() throws SQLException(Code) | | Returns true if the connection is closed.
|
setTransactionIsolation | public void setTransactionIsolation(int isolation) throws SQLException(Code) | | |
|
|