Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

EOAdaptor.Concepts



Creating an EOAdaptor Subclass

Enterprise Objects Framework provides concrete adaptors for three standard relational database management systems-Informix, Oracle, and Sybase-as well as a concrete adaptor for ODBC-compliant databases. You may want to create a subclass of one of these adaptors to extend its behavior, or you may want to create a concrete EOAdaptor subclass for a different database or persistent storage system. EOAdaptor provides many default method implementations that are sufficient for concrete subclasses:

The following methods establish structure and conventions that other Enterprise Objects Framework classes depend on and should be overridden with caution:

If you override setConnectionDictionary or setDelegate, your implementations should incorporate the superclass's implementation through a message to super.

The remaining EOAdaptor methods must be overridden by concrete adaptor subclasses in terms of the persistent storage system with which it interacts:

© 2001 Apple Computer, Inc. (Last Published April 13, 2001)


Table of Contents