Method Summary |
|
final public void | addWarning(SQLWarning w) Add a SQLWarning to this Connection object. |
final protected void | checkIfClosed() Checks if the connection is closed and throws an exception if
it is. |
final public void | clearWarnings() |
final public void | close() |
final public void | commit() |
final public Statement | createStatement() |
final public Statement | createStatement(int resultSetType, int resultSetConcurrency) |
final public boolean | getAutoCommit() |
final public String | getCatalog() |
final public int | getHoldability() Get the holdability for statements created by this connection
when holdability is not passed in. |
public void | getIsolationUptoDate() Isolation level state in BrokeredConnection can get out of sync
if the isolation is set using SQL rather than JDBC. |
int | getJDBCLevel() |
final public DatabaseMetaData | getMetaData() |
final public int | getPrepareIsolation() |
final EngineConnection | getRealConnection() A little indirection for getting the real connection. |
final public int | getTransactionIsolation() |
public java.util.Map | getTypeMap() |
final public SQLWarning | getWarnings() |
final public boolean | isClosed() |
final public boolean | isReadOnly() |
final public String | nativeSQL(String sql) |
public BrokeredStatement | newBrokeredStatement(BrokeredStatementControl statementControl) |
public BrokeredPreparedStatement | newBrokeredStatement(BrokeredStatementControl statementControl, String sql, Object generatedKeys) |
public BrokeredCallableStatement | newBrokeredStatement(BrokeredStatementControl statementControl, String sql) |
final void | notifyException(SQLException sqle) |
final public CallableStatement | prepareCall(String sql) |
final public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) |
final public PreparedStatement | prepareStatement(String sql) |
final public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) |
final public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Prepare statement with explicit holdability. |
final public void | rollback() |
final public void | setAutoCommit(boolean autoCommit) |
final public void | setCatalog(String catalog) |
final public void | setDrdaID(String drdaID) set the DrdaId for this connection. |
final public void | setPrepareIsolation(int level) Set the internal isolation level to use for preparing statements. |
final public void | setReadOnly(boolean readOnly) |
public void | setState(boolean complete) Set the state of the underlying connection according to the
state of this connection's view of state. |
final public void | setTransactionIsolation(int level) |
final public void | setTypeMap(java.util.Map map) |
final int | statementHoldabilityCheck(int resultSetHoldability) Check the result set holdability when creating a statement
object. |
public void | syncState() Sync up the state of the underlying connection
with the state of this new handle. |
public String | toString() Get the string representation for this connection. |