How to specify persistent fields and attributes
There are two ways to specify the persistent fields and further attributes for a persistence capable class:
- The JDO specification defines in detail rules for the fields depending on their type (see chapter "18 XML Metadata" in the specification). Signsoft intelliBO uses these rules to detect the persistence fields automatically and set the default attributes. If a field of the class is not included in its metadata file, all attributes of this field mapping are set to default values. Mostly this means that a field not mentioned explicitly is persistent using a direct field mapping.
- You may also explicitly define the mapping and the attributes of fields or classes by yourself. Please note that the not specified fields or attributes are assigned with default values. For example, if you do not want a field to be persistent, that is persistent per default, you have to set the value of the attribute persistence-modifier explicitly to none.