@jdo Tag ReferenceJDO tags used to generate jdo xml metadata. The tag names are identical to the element names in jdo.dtd. Applies to: classes to be persistence-capable on class and field level @jdo Class Level Tag Usage@jdo.persistence-capable (0..1)The jdo.persistence-capable tag provides information about the JDO persistent bean. Its presence determines if your class will be included in the generated jdo metadata. Applies to: The presence of the jdo.persistence-capable tag determines if a class will be included in the generated jdo metadata and thus if it will be enhanced to PersistenceCapable
@sql.table (0..1)Defines the mapping to a relational database. To use if the JDO bean is to be persisted on a relational database. Applies to: Applicable to the whole class.
@jdo Field Level Tag Usage@jdo.field (0..1)Defines a JDO persistent field. The jdo.field tag can be used on any persistent field or to specify non-default properties. Many jdo implementation require explicit listing of collection-valued fields. Applies to: The jdo.field tag can be used on any persistent field or to specify non-default properties. Many jdo implementation require explicit listing of collection-valued fields.
@sql.field (0..*)Defines the mapping of a field to a relational database. To use if the JDO bean is to be persisted on a relational database. Usually only one @jdo.mapping tag is required for a basic persistent field, except for fields that link to a persistence-capable class, where there are as many @jdo.mapping tags as there are foreign keys to this class, and for fields that represent a 1:n relationship where no @jdo.mapping tag is required, and finally for fields that represent a n:m relationship where there are as many @jdo.mapping tags as there are foreign keys from the relation table to the table for this class. Applies to: Applicable to a persistent field (basic field or object relationship)
@sql.relation (0..1)Further defines the mapping of a field of type Collection. Applies to: Applicable to a persistent field of type Collection
|