|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EngineConnection
Additional methods the embedded engine exposes on its Connection object implementations. An internal api only, mainly for the network server. Allows consistent interaction between EmbedConnections and BrokeredConnections.
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Method Summary | |
---|---|
void |
addWarning(java.sql.SQLWarning newWarning)
Add a SQLWarning to this Connection object. |
void |
clearLOBMapping()
Clear the HashTable of all entries. |
java.lang.String |
getCurrentSchemaName()
Obtain the name of the current schema, so that the NetworkServer can use it for piggy-backing |
int |
getHoldability()
Get the holdability of the connection. |
java.lang.Object |
getLOBMapping(int key)
Get the LOB reference corresponding to the locator. |
int |
getPrepareIsolation()
Return prepare isolation |
boolean |
isInGlobalTransaction()
Is this a global transaction |
void |
resetFromPool()
Resets the connection before it is returned from a PooledConnection to a new application request (wrapped by a BrokeredConnection). |
void |
setDrdaID(java.lang.String drdaID)
Set the DRDA identifier for this connection. |
void |
setPrepareIsolation(int level)
Set the transaction isolation level that will be used for the next prepare. |
Methods inherited from interface java.sql.Connection |
---|
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
void setDrdaID(java.lang.String drdaID)
boolean isInGlobalTransaction()
void setPrepareIsolation(int level) throws java.sql.SQLException
level
- Isolation level to change to. level is the DB2 level
specified in the package names which happen to correspond
to our internal levels. If
level == ExecutionContext.UNSPECIFIED_ISOLATION,
the statement won't be prepared with an isolation level.
java.sql.SQLException
int getPrepareIsolation() throws java.sql.SQLException
java.sql.SQLException
int getHoldability() throws java.sql.SQLException
getHoldability
in interface java.sql.Connection
java.sql.SQLException
void addWarning(java.sql.SQLWarning newWarning) throws java.sql.SQLException
newWarning
- Warning to be added, will be chained to any
existing warnings.
java.sql.SQLException
void clearLOBMapping() throws java.sql.SQLException
java.sql.SQLException
java.lang.Object getLOBMapping(int key) throws java.sql.SQLException
key
- the integer that represents the LOB locator value.
java.sql.SQLException
java.lang.String getCurrentSchemaName() throws java.sql.SQLException
java.sql.SQLException
void resetFromPool() throws java.sql.SQLException
Note that resetting the transaction isolation level is not performed as part of this method. Temporary tables, IDENTITY_VAL_LOCAL and current schema are reset.
java.sql.SQLException
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |