|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.broker.RDBConnection | +--com.objectwave.persist.broker.OracleConnection
This class allows for specific customization of the connection between the OracleBroker and the OracleDatabase.
Field Summary |
Fields inherited from class com.objectwave.persist.broker.RDBConnection |
cachedCount, cachedStatements, cachedUpdateStmt, connection, connectionSource, connectUrl, doInsert, insrtProp, inTransaction, lastResultSet, manageTransaction, metrics, metricsProp, needsExplicitBegin, objArrays, password, pool, poolBroker, sqlStatementCount, supportsTransaction, thread, userName, verbose, verbProp |
Method Summary | |
void |
alterVendorConnection(java.sql.Connection con)
Establish the connection to the database. |
protected int |
getBatchSize()
Method assumes a check to see if useBatch was null before this method was invoked. |
void |
setBrokerProperty(BrokerPropertyIF b)
The ability to support properties other than System.getProperties(); |
protected boolean |
tryAgain(int errorCode)
There may be error codes that mean the connection should simply try the statement a second time. |
Methods inherited from class com.objectwave.persist.broker.RDBConnection |
addStatement, beginTransaction, checkConnection, clearConnection, commit, execSql, executeQuery, finalize, findExecSql, findExecSql, freeConnection, getDatabaseMetaData, getDefaultConnectionSource, getLastResultSet, getObjectArrays, getObjectPoolBroker, getPool, getThread, initialize, isInTransaction, nextPrimaryKey, preparedUpdateSql, rollback, setConnection, setConnectionSource, setObjectPoolBroker, setThread, updateExecSql, updateStatement |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setBrokerProperty(BrokerPropertyIF b)
RDBConnection
setBrokerProperty
in class RDBConnection
b
- The new BrokerProperty valueprotected int getBatchSize()
public void alterVendorConnection(java.sql.Connection con) throws java.sql.SQLException
alterVendorConnection
in class RDBConnection
con
-
java.sql.SQLException
protected boolean tryAgain(int errorCode)
RDBConnection
tryAgain
in class RDBConnection
errorCode
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |