# Package org.apache.cayenne.access

package org.apache.cayenne.access

Contains classes that make up Cayenne ORM stack. Three main classes from top to bottom are DataContext, DataDomain and DataNode.

- Related Packages
  Package
  Description
  org.apache.cayenne
  Contains persistence APIs directly accessible by users.
  org.apache.cayenne.access.dbsync
  org.apache.cayenne.access.event
  org.apache.cayenne.access.flush
  org.apache.cayenne.access.jdbc
  Contains classes that handle JDBC interactions.
  org.apache.cayenne.access.sqlbuilder
  org.apache.cayenne.access.translator
  org.apache.cayenne.access.types
  Defines an extendable mechanism to map Java types to JDBC types.
  org.apache.cayenne.access.util
- Class
  Description
  AttributeFault
  ClientServerChannel
  A DataChannel that provides a server-side end of the bridge between client and server objects in a Remote Object Persistence stack.
  DataContext
  The most common implementation of `ObjectContext`.
  DataContextDelegate
  Defines API for a DataContext "delegate" - an object that is temporarily passed control by DataContext at some critical points in the normal flow of execution.
  DataDomain
  DataDomain performs query routing functions in Cayenne.
  DataNode
  An abstraction of a single physical data storage.
  DataRowStore
  A fixed size cache of DataRows keyed by ObjectId.
  DataRowStoreFactory
  A factory for creating `DataRowStore`
  DbGenerator
  Utility class that generates database schema based on Cayenne mapping.
  DefaultDataRowStoreFactory
  A default implementation of `DataRowStoreFactory`
  DefaultObjectMapRetainStrategy
  Default implementation of `ObjectMapRetainStrategy`.
  DomainStoppedException
  An exception thrown on attempts to access a DataDomain after it was explicitly shut down by the user.
  IncrementalFaultList<E>
  A synchronized list that serves as a container of DataObjects.
  LegacyDataDomainFlushAction
  Deprecated.
  this implementation is deprecated since 4.2, `DefaultDataDomainFlushAction` is used
  LegacyDataDomainFlushActionFactory
  Deprecated.
  NoSyncObjectStore
  An `ObjectStore` which doesn't receive notifications on parent's `DataRowStore` events.
  ObjectDiff
  A dynamic GraphDiff that represents a delta between object simple properties at diff creation time and its current state.
  ObjectMapRetainStrategy
  A strategy for retaining objects in `ObjectStore`.
  ObjectStore
  ObjectStore stores objects using their ObjectId as a key.
  ObjectStoreGraphDiff
  A GraphDiff facade for the ObjectStore changes.
  OperationHints
  Defines API that allows QueryEngine to obtain information about query execution strategy.
  OperationObserver
  Defines a set of callback methods that allow `QueryEngine` to pass back query results and notify caller about exceptions.
  OptimisticLockException
  An exception thrown on optimistic lock failure.
  QueryEngine
  Defines methods used to run Cayenne queries.
  ToManyList<E>
  A list that holds objects for to-many relationships.
  ToManyListFault
  ToManyMapFault
  ToManySet<E>
  ToManySetFault
  ToOneFault