|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.jdbc.pool.Connection
This class implements java.sql.Connection, and all of the documentation for its methods can be found in the java.sql.Connection docs.
Field Summary | |
protected boolean |
beenClosed
|
protected weblogic.jdbc.common.internal.ConnectionEnv |
cc
|
protected java.sql.Connection |
conn
|
java.util.Properties |
driverProps
|
protected boolean |
leakedConnTracingEnabled
|
java.lang.String |
poolName
|
weblogic.jdbc.rmi.internal.RmiDriverSettings |
rmiSettings
|
protected java.lang.Throwable |
stackTraceSource
|
Constructor Summary | |
Connection(weblogic.jdbc.common.internal.ConnectionEnv aCc)
|
Method Summary | |
void |
archive(int i,
int j,
java.lang.String s)
|
void |
checkIfClosed()
|
void |
clearWarnings()
|
void |
close_statements()
|
void |
close()
|
void |
commit()
|
oracle.sql.BfileDBAccess |
createBfileDBAccess()
|
oracle.sql.BlobDBAccess |
createBlobDBAccess()
|
oracle.sql.ClobDBAccess |
createClobDBAccess()
|
java.sql.Statement |
createStatement()
|
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
|
java.sql.Statement |
createStatementWithKey(java.lang.String sql)
|
void |
finalize()
|
boolean |
getAutoClose()
|
boolean |
getAutoCommit()
|
boolean |
getBigEndian()
|
java.lang.String |
getCatalog()
|
java.lang.Object |
getClientData(java.lang.Object o)
|
java.lang.String |
getDatabaseProductVersion()
|
java.util.Properties |
getDBAccessProperties()
|
short |
getDbCsId()
|
boolean |
getDefaultAutoRefetch()
|
int |
getDefaultExecuteBatch()
|
int |
getDefaultRowPrefetch()
|
java.lang.Object |
getDescriptor(java.lang.String s)
|
byte[] |
getFDO(boolean b)
|
boolean |
getIncludeSynonyms()
|
java.lang.Object |
getJavaObject(java.lang.String s)
|
short |
getJdbcCsId()
|
java.sql.DatabaseMetaData |
getMetaData()
|
java.lang.String |
getProtocolType()
|
boolean |
getRemarksReporting()
|
boolean |
getReportRemarks()
|
boolean |
getRestrictGetTables()
|
java.lang.String |
getSQLType(java.lang.Object o)
|
int |
getStmtCacheSize()
|
short |
getStructAttrCsId()
|
int |
getTransactionIsolation()
|
java.util.Map |
getTypeMap()
|
java.lang.String |
getURL()
|
java.lang.String |
getUserName()
|
boolean |
getUsingXAFlag()
|
java.sql.Connection |
getVendorConnection()
|
short |
getVersionNumber()
|
java.sql.SQLWarning |
getWarnings()
|
boolean |
getXAErrorFlag()
|
void |
holdLine(oracle.jdbc.driver.OracleStatement s)
|
void |
initUserName()
|
boolean |
isClosed()
|
boolean |
isReadOnly()
|
void |
logicalClose()
|
java.lang.String |
nativeSQL(java.lang.String sql)
JDK 1.2 subclass these public Statement createStatement() throws SQLException { checkIfClosed(); cc.checkIfEnabled(); StatementHolder stmt = new StatementHolder(); stmt.jstmt = conn.createStatement(); String key = cc.addStatement(stmt); return new weblogic.jdbc.pool.Statement(stmt.jstmt, cc, key, this); } public PreparedStatement prepareStatement(String sql) throws SQLException { checkIfClosed(); cc.checkIfEnabled(); StatementHolder stmt = new StatementHolder(); stmt.jstmt = conn.prepareStatement(sql); String key = cc.addStatement(stmt); return new weblogic.jdbc.pool.PreparedStatement((PreparedStatement)stmt.jstmt, cc, key, this); } public CallableStatement prepareCall(String sql) throws SQLException { checkIfClosed(); cc.checkIfEnabled(); StatementHolder stmt = new StatementHolder(); stmt.jstmt = conn.prepareCall(sql); String key = cc.addStatement(stmt); return new weblogic.jdbc.pool.CallableStatement((CallableStatement)stmt.jstmt, cc, key, this); } |
void |
needLine()
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql)
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
|
java.sql.CallableStatement |
prepareCallWithKey(java.lang.String key)
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
|
java.sql.PreparedStatement |
prepareStatementWithKey(java.lang.String sql)
|
void |
printState()
|
void |
putDescriptor(java.lang.String s,
java.lang.Object o)
|
void |
refresh()
|
void |
registerSQLType(java.lang.String s,
java.lang.Class c)
|
void |
registerSQLType(java.lang.String s,
java.lang.String t)
|
void |
releaseLine()
|
void |
removeAllDescriptor()
|
java.lang.Object |
removeClientData(java.lang.Object o)
|
void |
removeDecriptor(java.lang.String s)
|
void |
rollback()
|
void |
setAutoClose(boolean on)
|
void |
setAutoCommit(boolean isAutoCommit)
|
void |
setCatalog(java.lang.String catalog)
|
java.lang.Object |
setClientData(java.lang.Object o,
java.lang.Object o2)
|
void |
setDefaultAutoRefetch(boolean b)
|
void |
setDefaultExecuteBatch(int i)
|
void |
setDefaultRowPrefetch(int i)
|
void |
setFDO(byte[] b)
|
void |
setIncludeSynonyms(boolean b)
|
void |
setPhysicalStatus(boolean b)
|
void |
setReadOnly(boolean isReadOnly)
public DatabaseMetaData getMetaData() throws SQLException { checkIfClosed(); cc.checkIfEnabled(); return new weblogic.jdbc.pool.DatabaseMetaData(conn.getMetaData(), cc, this); } |
void |
setRemarksReporting(boolean b)
|
void |
setRestrictGetTables(boolean b)
|
void |
setStmtCacheSize(int i)
|
void |
setStmtCacheSize(int i,
boolean b)
|
void |
setTransactionIsolation(int transactionIsolation)
|
void |
setTypeMap(java.util.Map map)
|
void |
setUsingXAFlag(boolean b)
|
void |
setXAErrorFlag(boolean b)
|
void |
shutdown(int i)
|
void |
startup(java.lang.String s,
int i)
|
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected weblogic.jdbc.common.internal.ConnectionEnv cc
protected java.sql.Connection conn
protected boolean beenClosed
protected boolean leakedConnTracingEnabled
protected java.lang.Throwable stackTraceSource
public java.util.Properties driverProps
public weblogic.jdbc.rmi.internal.RmiDriverSettings rmiSettings
public java.lang.String poolName
Constructor Detail |
public Connection(weblogic.jdbc.common.internal.ConnectionEnv aCc)
Method Detail |
public void checkIfClosed() throws java.sql.SQLException
public java.lang.String nativeSQL(java.lang.String sql) throws java.sql.SQLException
public void setAutoCommit(boolean isAutoCommit) throws java.sql.SQLException
public boolean getAutoCommit() throws java.sql.SQLException
public void commit() throws java.sql.SQLException
public void rollback() throws java.sql.SQLException
public void close() throws java.sql.SQLException
public boolean isClosed() throws java.sql.SQLException
public void setReadOnly(boolean isReadOnly) throws java.sql.SQLException
public boolean isReadOnly() throws java.sql.SQLException
public void setCatalog(java.lang.String catalog) throws java.sql.SQLException
public java.lang.String getCatalog() throws java.sql.SQLException
public void setTransactionIsolation(int transactionIsolation) throws java.sql.SQLException
public int getTransactionIsolation() throws java.sql.SQLException
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
public void clearWarnings() throws java.sql.SQLException
public void refresh() throws java.lang.Exception
public void finalize()
public java.sql.Statement createStatement() throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException
sql
- Stringpublic java.sql.CallableStatement prepareCall(java.lang.String sql) throws java.sql.SQLException
sql
- Stringpublic java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
public java.util.Map getTypeMap() throws java.sql.SQLException
public void setTypeMap(java.util.Map map) throws java.sql.SQLException
public boolean getAutoClose() throws java.sql.SQLException
public void setAutoClose(boolean on) throws java.sql.SQLException
public java.lang.String getDatabaseProductVersion() throws java.sql.SQLException
public java.lang.String getProtocolType() throws java.sql.SQLException
public java.lang.String getURL() throws java.sql.SQLException
public java.lang.String getUserName() throws java.sql.SQLException
public boolean getBigEndian() throws java.sql.SQLException
public boolean getDefaultAutoRefetch() throws java.sql.SQLException
public boolean getIncludeSynonyms() throws java.sql.SQLException
public boolean getRemarksReporting() throws java.sql.SQLException
public boolean getReportRemarks() throws java.sql.SQLException
public boolean getRestrictGetTables() throws java.sql.SQLException
public boolean getUsingXAFlag() throws java.sql.SQLException
public boolean getXAErrorFlag() throws java.sql.SQLException
public byte[] getFDO(boolean b) throws java.sql.SQLException
public int getDefaultExecuteBatch() throws java.sql.SQLException
public int getDefaultRowPrefetch() throws java.sql.SQLException
public int getStmtCacheSize() throws java.sql.SQLException
public java.util.Properties getDBAccessProperties() throws java.sql.SQLException
public short getDbCsId() throws java.sql.SQLException
public short getJdbcCsId() throws java.sql.SQLException
public short getStructAttrCsId() throws java.sql.SQLException
public short getVersionNumber() throws java.sql.SQLException
public void archive(int i, int j, java.lang.String s) throws java.sql.SQLException
public void close_statements() throws java.sql.SQLException
public void initUserName() throws java.sql.SQLException
public void logicalClose() throws java.sql.SQLException
public void needLine() throws java.sql.SQLException
public void printState() throws java.sql.SQLException
public void registerSQLType(java.lang.String s, java.lang.String t) throws java.sql.SQLException
public void releaseLine() throws java.sql.SQLException
public void removeAllDescriptor() throws java.sql.SQLException
public void removeDecriptor(java.lang.String s) throws java.sql.SQLException
public void setDefaultAutoRefetch(boolean b) throws java.sql.SQLException
public void setDefaultExecuteBatch(int i) throws java.sql.SQLException
public void setDefaultRowPrefetch(int i) throws java.sql.SQLException
public void setFDO(byte[] b) throws java.sql.SQLException
public void setIncludeSynonyms(boolean b) throws java.sql.SQLException
public void setPhysicalStatus(boolean b) throws java.sql.SQLException
public void setRemarksReporting(boolean b) throws java.sql.SQLException
public void setRestrictGetTables(boolean b) throws java.sql.SQLException
public void setStmtCacheSize(int i) throws java.sql.SQLException
public void setStmtCacheSize(int i, boolean b) throws java.sql.SQLException
public void setUsingXAFlag(boolean b) throws java.sql.SQLException
public void setXAErrorFlag(boolean b) throws java.sql.SQLException
public void shutdown(int i) throws java.sql.SQLException
public void startup(java.lang.String s, int i) throws java.sql.SQLException
public java.sql.CallableStatement prepareCallWithKey(java.lang.String key) throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatementWithKey(java.lang.String sql) throws java.sql.SQLException
public java.sql.Statement createStatementWithKey(java.lang.String sql) throws java.sql.SQLException
public java.lang.Object getDescriptor(java.lang.String s) throws java.sql.SQLException
public java.lang.Object getClientData(java.lang.Object o) throws java.sql.SQLException
public java.lang.Object getJavaObject(java.lang.String s) throws java.sql.SQLException
public java.lang.Object removeClientData(java.lang.Object o) throws java.sql.SQLException
public java.lang.Object setClientData(java.lang.Object o, java.lang.Object o2) throws java.sql.SQLException
public java.lang.String getSQLType(java.lang.Object o) throws java.sql.SQLException
public oracle.sql.BfileDBAccess createBfileDBAccess() throws java.sql.SQLException
public oracle.sql.BlobDBAccess createBlobDBAccess() throws java.sql.SQLException
public oracle.sql.ClobDBAccess createClobDBAccess() throws java.sql.SQLException
public void holdLine(oracle.jdbc.driver.OracleStatement s) throws java.sql.SQLException
public void putDescriptor(java.lang.String s, java.lang.Object o) throws java.sql.SQLException
public void registerSQLType(java.lang.String s, java.lang.Class c) throws java.sql.SQLException
public java.sql.Connection getVendorConnection()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |