This chapter discusses the architecture of the core Cayenne framework. It only deals with the runtime operation of the object-relational persistence layer. Mapping procedures and remote object persistence are discussed elsewhere. The information below is not strictly required to start using Cayenne, so new users can skip it initially and come back later to gain better understanding of how Cayenne operates under the hood.
The following topics are discssued:
- Contract between persistent objects and Cayenne
- Persistent object lifecycle
- Runtime Components
- Transactions
- Primary Key generation strategies
- Object caching mechanism