t_CompositeMapping_PersistenceMapping_RelationalMapping
RelationalMapping
Properties
keyGenerator : componentNameComponent for key generation, implementing the OIDGenerator interface.
If not specified, the key must be set through appropriately mapped attribute(s).
Examples of key generators include:
* "identity" - database based identity generator/sequence.
* KeyGenerator.Counter - persistent counter. Requires a SysCounter record with a name of "class.<ClassName>". see SysCounter class.
* KeyGenerator.GuidGen - GUID key generator.Valid values based on“string”. :?[\p{L}_][\p{L}\p{N}_]*((:|\.)[\p{L}_][\p{L}\p{N}_]*)* primaryTable : tableNamePrimary table where instances of the class are persisted.
It is used for exclusive and optimistic locking and contains the locking attribute. Extension tables are are joined to it by the primary key and can be specified in attribute mappings "table" property.Valid values based on“string”. [A-Za-z][_A-Za-z\d]*(\.[A-Za-z][_A-Za-z\d]*)?
Content
Sequence of:
t_RelationalMapping_AttributeMappings [0..1] - Collection of Relational Attribute Mappings
t_RelationalMapping_Hook [0..1]
Parents
t_CompositeMapping_PersistenceMapping - A persistence mapping specifies how instances are persisted in a given data source. The type of the specified data source determines the mapping structure.
t_RelationalMapping_AttributeMappings
Collection of Relational Attribute Mappings
Parent topic: t_CompositeMapping_PersistenceMapping