|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.AbstractBroker | +--com.objectwave.persist.broker.RDBBroker | +--com.objectwave.persist.broker.OracleBroker
This will be the place for Oracle specific implementation issues. Special Considerations
Nested Class Summary | |
static class |
OracleBroker.Test
Unit tests. |
Nested classes inherited from class com.objectwave.persist.broker.RDBBroker |
RDBBroker.Test |
Field Summary |
Fields inherited from class com.objectwave.persist.broker.RDBBroker |
broker, brokerPropertySource, connectionPerThread, connectionPool, pool, resultEngine, saveObjectsStrategy, sqlModifyEngine, sqlQueryEngine, statementFactory, threadLocal |
Fields inherited from class com.objectwave.persist.AbstractBroker |
exceptionConverter, metrics, props, verbose |
Constructor Summary | |
OracleBroker()
|
Method Summary | |
protected QueryException |
convertException(java.sql.SQLException ex,
java.lang.String additionalInfo)
This will ALWAYS return an exception. |
RDBBroker |
defaultBroker()
Implemented as an instance method to support method overriding. |
static RDBBroker |
getDefaultBroker()
Most systems will have only one database broker. |
protected java.lang.String |
getDefaultDriverName()
Get the fully qualified class name of the preferred database driver. |
protected PrimaryKeyStrategy |
getDefaultPrimaryKeyStrategy()
Gets the DefaultPrimaryKeyStrategy attribute of the OracleBroker object |
void |
initialize()
Normally you would use the 'getDefaultBroker' method. |
protected boolean |
isSmartBatchEnabled()
|
protected RDBConnection |
newRDBConnection(RDBConnectionPool connectionPool,
java.lang.String connectUrl,
java.lang.String userName,
java.lang.String userPassword)
Create an RDBConnection instance using the specified configuration. |
Methods inherited from class com.objectwave.persist.AbstractBroker |
convertException, getExceptionConverter, println, setBrokerProperty, setExceptionConverter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OracleBroker()
Method Detail |
public static RDBBroker getDefaultBroker()
protected final boolean isSmartBatchEnabled()
protected java.lang.String getDefaultDriverName()
getDefaultDriverName
in class RDBBroker
protected PrimaryKeyStrategy getDefaultPrimaryKeyStrategy()
getDefaultPrimaryKeyStrategy
in class RDBBroker
public void initialize()
RDBBroker
initialize
in class RDBBroker
com.objectwave.persist.Broker#getDefaultBroker
public RDBBroker defaultBroker()
defaultBroker
in class RDBBroker
BrokerFactory
protected RDBConnection newRDBConnection(RDBConnectionPool connectionPool, java.lang.String connectUrl, java.lang.String userName, java.lang.String userPassword)
RDBBroker
newRDBConnection
in class RDBBroker
connectionPool
- Description of ParameterconnectUrl
- Description of ParameteruserName
- Description of ParameteruserPassword
- Description of Parameter
protected QueryException convertException(java.sql.SQLException ex, java.lang.String additionalInfo)
AbstractBroker
convertException
in class AbstractBroker
ex
- Description of ParameteradditionalInfo
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |