We have been very quiet on the announcement front for Hibernate OGM, but don't be fooled. Davide and Gunnar have been very busy bees and did bring significant foundation work for features that you will see in the next few months.
Based on the foundation of our JP-QL parser, we have added support for more JP-QL queries:
- operators =, <, <=, >, =, IN, LIKE, BETWEEN
- Supported boolean combinations: AND, OR, NOT
- Support for simple property projections and embedded objects
In practice, that means that you can write the following JP-QL query and have it run for example on Infinispan.
select u.firstname, u.lastname from User u where (u.age BETWEEN 12 AND 18) OR u.supervision = 'free'
As a reminder, we now support for following query features:
- operators =, <, <=, >, =>, IN, LIKE, BETWEEN
- boolean combinations: AND, OR, NOT
- simple proprerty projections
- embedded objects
- parametric queries
We now convert JP-QL queries into MongoQL queries and run them to retrieve entities. This is only the beginning and our support is comparable to the Lucene support.
This is a significant step forward for us as we proved our tool chain can handle what we are planning.
OGM now supports the single table per class strategy for the mapping
of hierachies. In this case a column will be added to
differentiate between entity types in a hierarchy.
Previously, you had to store subclasses in different
JBoss AS comes with a module system offering better packages and isolated libraries. We have added Hibernate OGM as a module to simplify JBoss AS users.
Support for Wildfly is coming soon.
When using Hibernate Search in conjunction with Hibernate OGM, you could not index entities using the MassIndexer.
This is now fixed and we are back to an efficient indexing.
Expect more regular releases from us from now on. We forgot our release early, release often mantra but that has to stop!
As an example, expect support for Neo4J as well as the ability to pass native queries (for example to MongoDB) and retrieve managed objects.
Many thanks to all the contributors that made this release possible whether it be via pull requests, bug reports or feedback on the forum.