The FairCom DB SQL dialect of the Hibernate Java Persistence API provides Java developers a way to persist data using the FairCom Database Engine by simply replacing the Hibernate layer with the FairCom Hibernate dialect.
Persisting data from programming languages such as Java presents a challenge: The application organizes its data in directly referenced memory (pointer) whereas the underlying database uses a relational model. Writing code that translates the in-memory data to a relational model is cumbersome and laborious.
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 FairCom DB database with Hibernate, FairCom has developed a FairCom DB dialect for Hibernate. This allows FairCom DB to be used in Java applications by simply using the same techniques documented on the Hibernate website.
If you have a Java application that is currently using Hibernate, simply follow the instructions in this document to set up the FairCom DB Hibernate dialect and you are ready to begin using the FairCom DB 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.
Note: This document explains how to set up the FairCom Hibernate dialect. It does not explain how to create a Java application that uses Hibernate. To learn those programming techniques, see the Hibernate website or any of the many books written on this subject.