Product Documentation

V11.5 Update Guide

Previous Topic

Next Topic

Hibernate support adds a persistence layer to Java applications

Programming languages such as Java organize their data as objects. The underlying database typically uses a relational model that can be at odds with object-oriented data. The Hibernate object-relational mapping library ("ORM") was developed to address this issue. This library has become the de facto standard for mapping Java objects to a relational database.

To facilitate using the c-treeACE database with Hibernate, FairCom has developed a c-treeACE dialect for Hibernate. This allows c-treeACE to provide persistence for Java applications by simply using the same techniques documented on the Hibernate website.

If you have a Java application currently using Hibernate, simply follow the instructions in the ReadMe located in \FairCom\V*\<your platform>\sdk\sql.hibernate\ to set up the c-treeACE Hibernate dialect and you are ready to begin using the c-treeACE database.

The configuration files, entity classes, DAO classes, the hbm.xml mapping file, etc. are expected to work exactly the same as any other generic Hibernate application.

TOCIndex