Projects / CppHibernate


CppHibernate is a thin layer to let users use Java Hibernate in C++ with the same configuration files, such as hibernate.cfg.xml and XXX.hbm.xml. It calls Java Hibernate internally through JNI, the Java Native Interface, and can take full advantage of Java Hibernate in C++.

Operating Systems

Recent releases

  •  23 Jan 2012 22:44

    Release Notes: This release fixes a couple of bugs in the CppHibernateCriteria::createAlias() method. It also replaces the parameter type from const char * to CppHibernateMatchMode class in the CppHibernateCriteria::addILike and CppHibernateCriteria::addLike methods.

    •  14 Jan 2012 23:27

      Release Notes: This release adds support for Java primitive arrays. This is aimed at the BLOB and CLOB types. For that support, the CppHibernateJArray class was added.

      •  10 Jan 2012 03:38

        Release Notes: The CppHibernateJObject class was refactored to add a CppHibernateJCollections hierarchy, with support for java.util.Map. CppHibernateJCollectionObject and CppHibernateJMapObject classes are in the hierarchy. Return values for the CppHibernateCriteria::list(), CppHibernateQuery::list(), CppHibernateSessionStatistics::getCollectionKeys(), and CppHibernateSessionStatistics::getEntityKeys() methods were changed in accordance with these modifications.

        •  31 Dec 2011 22:47

          Release Notes: This release adds a Java source code generator called cpphibernate-codegen 0.1.0. This code generator hides Java code writing for Java Hibernate annotation and JPA annotations. With those annotations, you can avoid the verbose Hibernate mapping file, XXX.hbm.xml.

          •  17 Dec 2011 03:16

            Release Notes: A couple of bugs were fixed in CppHibernateAccessor::toString() and CppHibernateStatistics::getSecondLevelCacheStatistics(). The README was updated with details of the support for the JPA annotation addition to XXX.hbm.xml files.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.