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 "CDO/Hibernate Store/Architecture"
< CDO | Hibernate Store
(New page: __TOC__ The CDO Hibernate Store makes use of 2 distinctive components: * [http://www.hibernate.org Hibernate]: for runtime object relational mapping from CDO objec...) |
|||
Line 7: | Line 7: | ||
The Teneo component is focused on generating the mapping to Hibernate. The actual runtime implementation consists of an implementation of a CDO data store (supporting the CDO api for data stores) and Hibernate itself. | The Teneo component is focused on generating the mapping to Hibernate. The actual runtime implementation consists of an implementation of a CDO data store (supporting the CDO api for data stores) and Hibernate itself. | ||
− | The image below illustrates the relation between the components. It shows that the data store implementation of transparent to the client. The Hibernate data store supports the same api as other CDO stores. The Hibernate store has has an additional feature that it supports HQL as the query language on the client. | + | The image below illustrates the relation between the components. It shows that the data store implementation of transparent to the client. The Hibernate data store supports the same api as other CDO stores. The Hibernate store has has an additional feature that it supports [[CDO_Hibernate_Store_HQL|HQL]] as the query language on the client. |
+ | |||
---- | ---- | ||
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]] | Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]] |
Revision as of 18:35, 20 January 2010
The CDO Hibernate Store makes use of 2 distinctive components:
- Hibernate: for runtime object relational mapping from CDO objects to a relational database, support for HQL queries from the client
- Teneo: responsible for generating a hibernate mapping from one or more ecore models possibly annotated with JPA annotations to influence the mapping
The Teneo component is focused on generating the mapping to Hibernate. The actual runtime implementation consists of an implementation of a CDO data store (supporting the CDO api for data stores) and Hibernate itself.
The image below illustrates the relation between the components. It shows that the data store implementation of transparent to the client. The Hibernate data store supports the same api as other CDO stores. The Hibernate store has has an additional feature that it supports HQL as the query language on the client.