er.extensions.jdbc
Class ERXJDBCAdaptor
java.lang.Object
com.webobjects.eoaccess.EOAdaptor
com.webobjects.jdbcadaptor.JDBCAdaptor
er.extensions.jdbc.ERXJDBCAdaptor
public class ERXJDBCAdaptor
- extends JDBCAdaptor
Subclass of the JDBC adaptor and accompanying classes that supports
connection pooling and posting of adaptor operation notifications. Will get
patched into the runtime via the usual class name magic if the property
er.extensions.ERXJDBCAdaptor.className is set to this class's
name or another subclass of JDBCAdaptor. The connection pooling will be
enabled if the system property
er.extensions.ERXJDBCAdaptor.useConnectionBroker is set.
- Author:
- ak
| Fields inherited from class com.webobjects.jdbcadaptor.JDBCAdaptor |
_cachedContext, _expressionFactory, _jdbcInfo, _plugin, _varcharMaxLength, DataSourceJndiNameKey, DriverKey, JDBCInfoKey, PasswordKey, PlugInKey, TypeInfoKey, URLKey, UsernameKey |
| Methods inherited from class com.webobjects.jdbcadaptor.JDBCAdaptor |
_valueTypeCharForAttribute, assertConnectionDictionaryIsValid, assignExternalTypeForAttribute, canServiceModel, connectionDictionaryURL, connectionProperties, connectionURL, createAttribute, defaultExpressionClass, driverName, expressionFactory, externalTypeForJDBCType, externalTypesWithModel, fetchedValueForValue, getJDBCInfoWithConnectionDictionary, handleDroppedConnection, isDroppedConnectionException, isValidQualifierType, password, plugIn, plugInName, schemaSynchronizationFactory, setConnectionDictionary, stringRepresentationForJDBCType, synchronizationFactory, typeInfoForModel, username, varcharMaxLength |
| Methods inherited from class com.webobjects.eoaccess.EOAdaptor |
_assignExternalNameForAttribute, _createDropDatabase, _recursivelyConvertEntity, _registerAdaptorContext, _unregisterAdaptorContext, adaptorWithModel, adaptorWithName, administrativeConnectionDictionaryForAdaptor, assignExternalInfoForAttribute, assignExternalInfoForEntireModel, assignExternalInfoForEntity, connectionDictionary, contexts, createDatabaseWithAdministrativeConnectionDictionary, defaultDelegate, delegate, dropDatabaseWithAdministrativeConnectionDictionary, expressionClass, expressionClassName, fetchedValueForDataValue, fetchedValueForDateValue, fetchedValueForNumberValue, fetchedValueForStringValue, hasOpenChannels, hasPlugIns, internalTypeForExternalType, name, prototypeAttributes, setDefaultDelegate, setDelegate, setExpressionClassName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final Logger log
USE_CONNECTION_BROKER_KEY
public static final String USE_CONNECTION_BROKER_KEY
- See Also:
- Constant Field Values
CLASS_NAME_KEY
public static final String CLASS_NAME_KEY
- See Also:
- Constant Field Values
ERXJDBCAdaptor
public ERXJDBCAdaptor(String s)
useConnectionBroker
public static boolean useConnectionBroker()
- Returns whether the connection broker is active.
registerJDBCAdaptor
public static void registerJDBCAdaptor()
_cachedAdaptorContext
protected JDBCContext _cachedAdaptorContext()
- Overrides:
_cachedAdaptorContext in class JDBCAdaptor
jdbcInfo
protected NSDictionary jdbcInfo()
- Overrides:
jdbcInfo in class JDBCAdaptor
typeInfo
protected NSDictionary typeInfo()
- Overrides:
typeInfo in class JDBCAdaptor
createJDBCContext
public ERXJDBCAdaptor.Context createJDBCContext()
createAdaptorContext
public EOAdaptorContext createAdaptorContext()
- Overrides:
createAdaptorContext in class JDBCAdaptor
checkoutConnection
protected Connection checkoutConnection()
freeConnection
protected void freeConnection(Connection connection)
Copyright © 2002 – 2007 Project Wonder.