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++.
|Tags||C++ Library ORM database API|
|Implementation||C++ hibernate JNI|
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.
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.
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.
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.
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.