 | This page is under construction |
Overview
This page gives an overview about the Fornax Hibernate Cartridge. The core of the cartridge is the new Persistence DSL. The Persistence DSL is realized with EMF
. The Generator is based on this dsl. The modeling front end will still remain UML2. During generation the UML2 profiled model is transformed into the persistence dsl. The following picture illustrate this behavior.
The new version of the Fornax Hibernate Cartridge will be compatible to the existing one. The cartridge will enrich the UML2 profiled model. You can access the model by using the model slot:
hibernate.modelslot.uml2.
Modeling
It is possible but not intended to build up a concrete model within the metamodel the cartridge provides. The version 2.0.0 of the Hibernate Cartridge enables you to use your existing or favored way of describing models. We will provide Adapter for UML2 and, in the future, xText. In the future it is also possible to translate your specific dialect
to the Fornax Persistence DSL. We will provide some examples and patterns.
Also this approach enables you to model with your existing UML/UML2-Modeling tool, but you can also notate your models in a textual way, or using Schema and XML. All kinds of metamodels can be read by openArchitectureWare can be used for modeling.
The Eclipse Modeling Framework enables to create custom metamodels from the scratch.

Dialect means, that you can use only a subset of the possibilities of the complete JPA DSL (For example, you may use no inheritance, or you choose one of JPA Inheritance strategies to realize your domain). This makes easier for the designer, to build up your specific domain model.