Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Teneo/Hibernate"

(JPA/EJB3 Annotations)
Line 24: Line 24:
 
Teneo supports the full set of JPA annotations in the model (xsd or ecore) itself or in a separate XML file:
 
Teneo supports the full set of JPA annotations in the model (xsd or ecore) itself or in a separate XML file:
  
* '''[[Teneo/Hibernate/Annotations/Annotations_Support|supported annotations]]''': gives a complete overview of the support for JPA annotations including Hibernate annotation extensions and convenience Teneo extensions.
+
* '''[[Teneo/Hibernate/Annotations/Annotations_Support|Supported annotations]]''': gives a complete overview of the support for JPA annotations including Hibernate annotation extensions and convenience Teneo extensions.
  
* '''[[Teneo/Hibernate/Annotations/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/Annotations/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/Annotations/Teneo_Annotation_Examples|annotation examples]]''': provides downloadable examples and discusses some special cases.
+
  
 +
* '''[[Teneo/Hibernate/Annotations/Teneo_Annotation_Examples|Annotation examples]]''': provides downloadable examples and discusses some special cases.
  
 
== XML Schema Support ==
 
== XML Schema Support ==
  
 
== CVS and Support ==
 
== CVS and Support ==

Revision as of 11:00, 21 January 2010

NOTE: the documentation for Hibernate is currently (January 2010) being transferred from the current site to the Eclipse wiki. This means that the pages in the wiki can be incomplete until the transfer is complete. For the complete documentation visit the current site: here.

The EMF - Hibernate integration supports all EMF features and standard Hibernate features. EMF objects can be persisted in most major relational databases and retrieved using an EMF resource approach or HQL queries.

The EMF - Hibernate integration is a layer over the Hibernate product. The currently used/tested Hibernate version is 3.3.2.

EMF, Hibernate and Teneo Versions

  • 1.0.4: for Eclipse 3.4-3.3/EMF 2.4-2.3/hibernate 3.2/3.3.1 and jdk 1.5
  • 1.1.0: Release for Eclipse 3.5/EMF 2.5/hibernate 3.2/3.3.1 and jdk 1.5
  • 1.1.1/1.1.2: Maintenance Builds for Eclipse 3.5/EMF 2.5/hibernate 3.3.2 and jdk 1.5
  • 1.2.0: Stable Builds for Eclipse 3.6/EMF 2.6/hibernate 3.3.2 and jdk 1.5

Note: the difference in hibernate versions between the 1.1.0 and 1.1.1 and higher builds! Hibernate introduced a binary incompatibility in version 3.3.2, forcing Teneo to adhere to this.

Tutorials

Configuration and Usage Details

JPA/EJB3 Annotations

Teneo supports the full set of JPA annotations in the model (xsd or ecore) itself or 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.

XML Schema Support

CVS and Support

Back to the top