Class Mapping
• | Simple Class (tags used: <class>, <id>, <property>) |
• | Computed Property (formula attribute of the <property> tag) |
• | Version Property (tags used: <version>) |
• | Enum Type Property (type attribute of the <property> tag) |
• | Join Tables (tags used: <join>) |
• | where (where attribute of the <class> tag) |
• | filter (tags used: <filter>, <filter-def>, <filter-param>) |
Class Identifier
• | Simple Identifier (tags used: <id>) |
• | Composite Identifier (tags used: <composite-id>) |
Associations
• | One-to-Many(Collection mappings) |
o | Simple One-to-Many (tags used: <set>, <key>, <one-to-many>, <many-to-one>) |
o | Simple ZeroOrOne-to-Many (tags used: <set>, <key>, <one-to-many>) |
o | Unique Key (tags used: <set>, <key>, <one-to-many>; property-ref attribute of the <key> tag) |
o | Composite Identifier (tags used: <set>, <key>, <composite-id>) |
o | Component Identifier (tags used: <set>, <key>, class attribute of the <composite-id> tag) |
o | Component Unique Key (tags used: <component>, <set>, <key>, property-ref attribute of the <key> tag) |
o | Join Tables (tags used: <join>) |
o | Order By (order-by attribute of the <set> tag, <bag>, <map>, <list>, <array>) |
o | Where (where attribute of the <set> tag, <bag>, <map>, <list>, <array>) |
o | Filter (tags used: <filter>, <filter-def>, <filter-param>) |
o | Collection Of Components (tags used: <composite-element>) |
▪ | Map (tags used: <map>, <index>) |
▪ | Map With Complex Index (tags used <map>, <composite-index>) |
▪ | List (tags used: <list>, <index>) |
▪ | Array (tags used <array>, <index>) |
o | Simple One-to-One (tags used: <one-to-one>) |
o | Component Identifier (tags used: <one-to-one>, <composite-id>) |
o | Unique Foreign Key (property-ref attribute of the <one-to-one> tag и tags used: <many-to-one>) |
o | Composite Unique Foreign Key (tags used: <composite-id>; property-ref attribute of the <one-to-one>; <many-to-one>) |
o | Simple Many-to-Many (tags used: <many-to-many>) |
o | Composite Identifier (tags used: <many-to-many>, <composite-id>) |
o | Unique Keys (property-ref attribute of the <many-to-many> tag; property-ref attribute of the <key> tag) |
o | Component Unique Keys (tags used: <component>; property-ref attribute of the <many-to-many> tag; property-ref attribute of the <key> tag) |
o | Extra Columns Component (tags used: <composite-element>, <many-to-one>) |
o | Entity Index Map (tags used: <map>, <many-to-many>, <index-many-to-many>) |
o | IdBag Collection (tags used: <idbag>, <many-to-many>, <collection-id>) |
Components
• | Component Properties (tags used: <component>, <property>) |
• | Embedded Components (tags used <component>, <property>) |
• | Composite Identifier (tags used: <composite-id>) |
• | Many-to-one (tags used: <component>, <many-to-one>) |
• | Many-to-many (tags used: <component>, <many-to-many>) |
Inheritances
• | Table Per Hierarchy (tags used: <discriminator>, <subclass>) |
• | Table Per Type (tags used: <joined-subclass>) |
• | Table Per Concrete Class (tags used: <union-subclass>) |
Named SQL Query
• | Without Result (tags used: <sql-query>, <query-param>) |
• | Scalar Result (tags used: <sql-query>, <return-scalar>) |
• | Entity Result (tags used: <sql-query>, <return>, <return-property>, <query-param>) |
• | Complex Type Result (tags used: <sql-query>, <return>, <return-property>, <query-param>) |
• | Execute Stored Function (tags used: <sql-query> and its attribute callable; <query-param>) |
|