er.extensions.jdbc
Class ERXJDBCAdaptor.Channel
java.lang.Object
com.webobjects.eoaccess.EOAdaptorChannel
com.webobjects.jdbcadaptor.JDBCChannel
er.extensions.jdbc.ERXJDBCAdaptor.Channel
- Enclosing class:
- ERXJDBCAdaptor
public static class ERXJDBCAdaptor.Channel
- extends JDBCChannel
Channel subclass to support notification posting.
- Author:
- ak
| Fields inherited from class com.webobjects.eoaccess.EOAdaptorChannel |
_context, _debug, _delegate, _delegateRespondsTo_didChangeResultSet, _delegateRespondsTo_didEvaluateExpression, _delegateRespondsTo_didExecuteStoredProcedure, _delegateRespondsTo_didFetchRow, _delegateRespondsTo_didFinishFetching, _delegateRespondsTo_didPerformOperations, _delegateRespondsTo_didSelectAttributes, _delegateRespondsTo_shouldConstructStoredProcedureReturnValues, _delegateRespondsTo_shouldEvaluateExpression, _delegateRespondsTo_shouldExecuteStoredProcedure, _delegateRespondsTo_shouldReturnValuesForStoredProcedure, _delegateRespondsTo_shouldSelectAttributes, _delegateRespondsTo_willFetchRow, _delegateRespondsTo_willPerformOperations, _rawAttributesCache, _rawDictionaryInitializer, AdaptorFailureKey, AdaptorOperationsKey, AdaptorOptimisticLockingFailure, FailedAdaptorOperationKey |
| Methods inherited from class com.webobjects.jdbcadaptor.JDBCChannel |
addStoredProceduresNamed, attributesToFetch, cancelFetch, closeChannel, deleteRowsDescribedByQualifier, describeModelWithTableNames, describeResults, describeStoredProcedureNames, describeTableNames, evaluateExpression, executeStoredProcedure, fetchRow, insertRow, isFetchInProgress, isOpen, openChannel, primaryKeyForNewRowWithEntity, returnValuesForLastStoredProcedureInvocation, rowsProcessedCount, updateValuesInRowsDescribedByQualifier |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERXJDBCAdaptor.Channel
public ERXJDBCAdaptor.Channel(JDBCContext jdbccontext)
setAttributesToFetch
public void setAttributesToFetch(NSArray attributes)
- Overrides:
setAttributesToFetch in class JDBCChannel
selectAttributes
public void selectAttributes(NSArray array,
EOFetchSpecification fetchspecification,
boolean lock,
EOEntity entity)
- Overridden to switch the connection to read-only while selecting.
- Overrides:
selectAttributes in class JDBCChannel
performAdaptorOperations
public void performAdaptorOperations(NSArray ops)
- Overridden to post a notification when the operations were performed.
- Overrides:
performAdaptorOperations in class EOAdaptorChannel
primaryKeysForNewRowsWithEntity
public NSArray primaryKeysForNewRowsWithEntity(int cnt,
EOEntity entity)
- Batch-fetches new primary keys. Set the property
er.extensions.ERXPrimaryKeyBatchSize to a number
larger than 0. Also, you can fine-tune the size by adding a key
ERXPrimaryKeyBatchSize to your model or entity user
info.
- Overrides:
primaryKeysForNewRowsWithEntity in class JDBCChannel
Copyright © 2002 – 2007 Project Wonder.