er.extensions.jdbc
Class ERXJDBCAdaptor
java.lang.Object
com.webobjects.eoaccess.EOAdaptor
com.webobjects.jdbcadaptor.JDBCAdaptor
er.extensions.jdbc.ERXJDBCAdaptor
public class ERXJDBCAdaptor
- extends com.webobjects.jdbcadaptor.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
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EOAdaptor |
com.webobjects.eoaccess.EOAdaptor.Delegate |
Fields inherited from class com.webobjects.jdbcadaptor.JDBCAdaptor |
_cachedContext, _expressionFactory, _jdbcInfo, _plugin, _varcharMaxLength, DataSourceJndiNameKey, DriverKey, JDBCInfoKey, PasswordKey, PlugInKey, TypeInfoKey, URLKey, UsernameKey |
Fields inherited from class com.webobjects.eoaccess.EOAdaptor |
_connectionDictionary, _contexts, _delegate, _delegateRespondsTo_processValue, _delegateRespondsTo_reconDict, _expressionClass, _expressionClassName, _name |
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, 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, 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 org.apache.log4j.Logger log
USE_CONNECTION_BROKER_KEY
public static final java.lang.String USE_CONNECTION_BROKER_KEY
- See Also:
- Constant Field Values
CLASS_NAME_KEY
public static final java.lang.String CLASS_NAME_KEY
- See Also:
- Constant Field Values
ERXJDBCAdaptor
public ERXJDBCAdaptor(java.lang.String s)
useConnectionBroker
public static boolean useConnectionBroker()
- Returns whether the connection broker is active.
registerJDBCAdaptor
public static void registerJDBCAdaptor()
_cachedAdaptorContext
protected com.webobjects.jdbcadaptor.JDBCContext _cachedAdaptorContext()
- Overrides:
_cachedAdaptorContext
in class com.webobjects.jdbcadaptor.JDBCAdaptor
jdbcInfo
protected com.webobjects.foundation.NSDictionary jdbcInfo()
- Overrides:
jdbcInfo
in class com.webobjects.jdbcadaptor.JDBCAdaptor
typeInfo
protected com.webobjects.foundation.NSDictionary typeInfo()
- Overrides:
typeInfo
in class com.webobjects.jdbcadaptor.JDBCAdaptor
createJDBCContext
public ERXJDBCAdaptor.Context createJDBCContext()
createAdaptorContext
public com.webobjects.eoaccess.EOAdaptorContext createAdaptorContext()
- Overrides:
createAdaptorContext
in class com.webobjects.jdbcadaptor.JDBCAdaptor
checkoutConnection
protected java.sql.Connection checkoutConnection()
freeConnection
protected void freeConnection(java.sql.Connection connection)
Copyright © 2002 – 2007 Project Wonder.