public class ERXJDBCAdaptor
extends com.webobjects.jdbcadaptor.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.
|
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME_KEY |
static String |
USE_CONNECTION_BROKER_KEY |
Constructor and Description |
---|
ERXJDBCAdaptor(String name) |
Modifier and Type | Method and Description |
---|---|
protected com.webobjects.jdbcadaptor.JDBCContext |
_cachedAdaptorContext() |
protected Connection |
checkoutConnection() |
com.webobjects.eoaccess.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 com.webobjects.jdbcadaptor.JDBCContext _cachedAdaptorContext()
_cachedAdaptorContext
in class com.webobjects.jdbcadaptor.JDBCAdaptor
protected NSDictionary jdbcInfo()
jdbcInfo
in class com.webobjects.jdbcadaptor.JDBCAdaptor
protected NSDictionary typeInfo()
typeInfo
in class com.webobjects.jdbcadaptor.JDBCAdaptor
public ERXJDBCAdaptor.Context createJDBCContext()
public com.webobjects.eoaccess.EOAdaptorContext createAdaptorContext()
createAdaptorContext
in class com.webobjects.jdbcadaptor.JDBCAdaptor
protected Connection checkoutConnection()
protected void freeConnection(Connection connection)
Copyright © 2002 – 2020 Project Wonder.