public class ERXJDBCAdaptor extends JDBCAdaptor
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.Modifier and Type | Class and Description |
---|---|
static class |
ERXJDBCAdaptor.Channel
Channel subclass to support notification posting.
|
static interface |
ERXJDBCAdaptor.ConnectionBroker |
static class |
ERXJDBCAdaptor.Context
Context subclass that uses connection pooling.
|
EOAdaptor.Delegate
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME_KEY |
static String |
USE_CONNECTION_BROKER_KEY |
_cachedContext, _expressionFactory, _jdbcInfo, _plugin, _varcharMaxLength, DataSourceJndiNameKey, DriverKey, JDBCInfoKey, PasswordKey, PlugInKey, TypeInfoKey, URLKey, UsernameKey
_connectionDictionary, _contexts, _delegate, _delegateRespondsTo_processValue, _delegateRespondsTo_reconDict, _expressionClass, _expressionClassName, _name
Constructor and Description |
---|
ERXJDBCAdaptor(String name) |
Modifier and Type | Method and Description |
---|---|
protected JDBCContext |
_cachedAdaptorContext() |
protected Connection |
checkoutConnection() |
EOAdaptorContext |
createAdaptorContext() |
ERXJDBCAdaptor.Context |
createJDBCContext() |
protected void |
freeConnection(Connection connection) |
protected NSDictionary |
jdbcInfo() |
static void |
registerJDBCAdaptor() |
protected NSDictionary |
typeInfo() |
static boolean |
useConnectionBroker()
Returns whether the connection broker is active.
|
_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
_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
public static final String USE_CONNECTION_BROKER_KEY
public static final String CLASS_NAME_KEY
public ERXJDBCAdaptor(String name)
public static boolean useConnectionBroker()
true
if connection broker is activepublic static void registerJDBCAdaptor()
protected JDBCContext _cachedAdaptorContext()
_cachedAdaptorContext
in class JDBCAdaptor
protected NSDictionary jdbcInfo()
jdbcInfo
in class JDBCAdaptor
protected NSDictionary typeInfo()
typeInfo
in class JDBCAdaptor
public ERXJDBCAdaptor.Context createJDBCContext()
public EOAdaptorContext createAdaptorContext()
createAdaptorContext
in class JDBCAdaptor
protected Connection checkoutConnection()
protected void freeConnection(Connection connection)
Copyright © 2002 – 2024 Project Wonder.