Before starting to work with persistent objects , you need to prepare the database: to build the system tables that are storing the information about persistent objects and their fields.
The following piece of code will do it:
package com.user; |
Run it only once (per database), before starting to work with persistent objects.