Fornax Hibernate Cartridge
 |
Last stable version is 1.8.1
Download it from SourceForge.net
The Version 1.8.2 is pending until the the currend version of oaw 4.3.1 is avaiable for a build with maven.
See the roadmap for more informations |
Overview
This Cartridge is based on openArchitectureWare 4.3
and provides templates and stereotypes for generating Entities and Hibernate
O/R-mappings and configuration.
UML2
is used for modeling your domain. Every modeling tool which can export to EMF UML2 is supported. Simply model your domain, export the model and start the generation.
Most of the customizing facilitities of Hibernate are supported. Also a support of legacy databases with composite-key and key-references are supported.
The Entities are generated by the JavaBasic Cartridge
. They generated artifacts compromises of three parts for every modeled Entity:
- An interface, placed into a seperate physical lokation.
- A JavaBean containing all properties and associations with customizable generation of equals() , hashcode() and toString(). This class is complete generated by the Fornax Hibernate Cartridge.
- A super class of the JavaBean used for customization with manual written code
Features
Benefit from a simple "out of the box" cartridge, that is highly customizalbe!
- Generation of JavaBeans and Hibernate Mappings from a simple UML-Model
- Beautiful code using code formatter
- Fornax-XML-Formatter
- Hybridlabs-Java-Beautifier
- Inheritance** Table per class hierarchy subclass** Table per subclass joined-subclass** Table per concrete class union-subclass
- (JPA-) Embedded
- Natural-Keys and automatic generation of toString(), hashcode() and equals()
- Java 5 (typed Collections)
- completion of models with default values (via Model Transformations)
- naming unnamed association-ends
- providing default keys
- many customizing facilities like:
- customizing Hibernate-specific properties
- customizing the table and column names with:
- prefix
- (name | name.toUpperCase | name.toLowerCase)
- suffix
- Support for legency databases
- composite keys
- key references
Uses latest technologies:
- Hibernate version 3.2.6 GA
- oAW 4.3.0
- JavaBasic Cartridge 2.0.3
- planned: Hibernate Annotations
Documentation
Issues and Improvements
Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.
http://www.fornax-platform.org/tracker/browse/CHB
.
Use the Forum
for questions and discussion.
Powered by itemis
and NoMagic
Looks great!
attila