Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Teneo/Hibernate/ModelRelational"
(→Model Relational Mapping with EJB3/JPA annotations) |
|||
Line 1: | Line 1: | ||
− | |||
== Model Relational Mapping with EJB3/JPA annotations == | == Model Relational Mapping with EJB3/JPA annotations == | ||
Teneo can map almost every ecore model to a relational store. The mapping logic is can be overridden and controlled by in-model JPA annotations. The annotations are entered in the model (xsd or ecore) directly or set in a separate XML file: | Teneo can map almost every ecore model to a relational store. The mapping logic is can be overridden and controlled by in-model JPA annotations. The annotations are entered in the model (xsd or ecore) directly or set in a separate XML file: | ||
− | * '''[[Teneo/Hibernate/ModelRelational/Annotations_Support|Supported | + | * '''[[Teneo/Hibernate/ModelRelational/Annotations_Support|Supported Annotations]]''': gives a complete overview of the support for JPA annotations including Hibernate annotation extensions and convenience Teneo extensions. |
− | * '''[[Teneo/Hibernate/ModelRelational/Annotations_Format|Annotations | + | * '''[[Teneo/Hibernate/ModelRelational/Annotations_Format|Annotations Format]]''': describes in detail how annotations can be specified in the model itself or in a separate XML file. By supporting an external XML it is possible to annotate existing ecore models, so without the need to change them. |
− | * '''[[Teneo/Hibernate/ModelRelational/Teneo_Annotation_Examples|Annotation | + | * '''[[Teneo/Hibernate/ModelRelational/Teneo_Annotation_Examples|Annotation Examples]]''': provides downloadable examples and discusses some special cases. |
* '''[[Teneo/Hibernate/ModelRelational/Association_Mapping|Association Mapping]]''': describes in detail how associations can be mapped to a relational store, also outlining which annotations and configuration options can be used. | * '''[[Teneo/Hibernate/ModelRelational/Association_Mapping|Association Mapping]]''': describes in detail how associations can be mapped to a relational store, also outlining which annotations and configuration options can be used. |
Revision as of 16:51, 21 January 2010
Model Relational Mapping with EJB3/JPA annotations
Teneo can map almost every ecore model to a relational store. The mapping logic is can be overridden and controlled by in-model JPA annotations. The annotations are entered in the model (xsd or ecore) directly or set in a separate XML file:
- Supported Annotations: gives a complete overview of the support for JPA annotations including Hibernate annotation extensions and convenience Teneo extensions.
- Annotations Format: describes in detail how annotations can be specified in the model itself or in a separate XML file. By supporting an external XML it is possible to annotate existing ecore models, so without the need to change them.
- Annotation Examples: provides downloadable examples and discusses some special cases.
- Association Mapping: describes in detail how associations can be mapped to a relational store, also outlining which annotations and configuration options can be used.
- Inheritance Mapping: discusses the inheritance mapping strategies supported by Teneo.
- Entity Attribute Value Mapping: the entity-attribute-value mapping strategy is a special mapping suitable for models which change at runtime.