Method Summary |
|
void | associate(ManagedConnectionImpl mConn) Associates with a different mConn. |
public void | clearWarnings() |
public void | close() Reset the connection and return the underlying JDBC connection to
the pool. |
void | closeStatement(Statement stmt) Closes a single statement. |
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) Creates a statement. |
public Struct | createStruct(String typeName, Object[] attributes) |
public void | discardConnection() Marks the connection as error. |
protected void | finalize() |
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 Class | getDriverClass() |
public Connection | getDriverConnection() Returns the underlying connection. |
public int | getHoldability() |
public ManagedConnectionImpl | getMConn() Returns the underlying connection. |
public DatabaseMetaData | getMetaData() Gets the connection's metadata. |
public int | getTransactionIsolation() |
public Map | getTypeMap() Returns the connection's type map. |
public String | getURL() |
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) |
void | killPool() Returns the underlying connection. |
public String | nativeSQL(String sql) Calls the nativeSQL method for the connection. |
public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) |
public CallableStatement | prepareCall(String sql) |
public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) |
public PreparedStatement | prepareStatement(String sql) Returns a prepared statement with the given sql. |
public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) Returns a prepared statement with the given sql. |
public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Returns a prepared statement with the given sql. |
public PreparedStatement | prepareStatement(String sql, int resultSetType) Returns a prepared statement with the given sql. |
public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) Returns a prepared statement with the given sql. |
public PreparedStatement | prepareStatement(String sql, String[] columnNames) Returns a prepared statement with the given sql. |
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) |