PersistenceObjects
1. Create the model classes
2. Create a test
3. Create the PersistenceObjects
4. Describe the classes
5. Configure DatabaseManager and create the database
6. Use the PersistenceObjects in your controllers
7. Add database-methods
Introduction:
DatabaseManagement for PersistenceObjects is almost the same as with regular dedicated managers except for a few anomalities (sorry). Here's a step by step tutorial on creating a basic Database situation with PersistenceObject. The example is a basic image-gallery scenario with the following classes: User, Album, Picture.
The files in the exampleproject are in a following directory structure.
The files can de downloaded from: here
next - Create the model classes