Help

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.

Improved query support around projection and operators

Based on the foundation of our JP-QL parser, we have added support for more JP-QL queries:

Supported operators

  • 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

JP-QL query support for MongoDB

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.

Discriminator based hierarchy

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 tables.

JBoss AS 7 integration module

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.

Support for Hibernate Search mass indexing

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.

Next

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.

How to try it

You can take a look at the documentation or check how you can download Hibernate OGM 4.0.0.Beta3.

Many thanks to all the contributors that made this release possible whether it be via pull requests, bug reports or feedback on the forum.

3 comments:
 
30. Sep 2013, 14:43 CET | Link
Nicolas Helleringer

Huge !! Grrreeeaaat Job !

ReplyQuote
 
02. Oct 2013, 09:36 CET | Link

Yeah! So when is the next one :D

 
30. Aug 2014, 03:53 CET | Link
polo

Best friend successive good years, Gucci Shoes Factory, winter spent in Sanya, Monster Beats Outlet, so winter home, seems to be nowhere in sight, North Jackets Outlet, both a little rusty, Nike Air Max Shoes, but also very cordial, Burberry Outlet Online, forward to tonight, feather-like snow, MCM Bags Outlet, drifts underground, Coach Black Friday, looking at that the floc, Louis Vuitton Outlet, fly like snow Ling, Michael Kors Outlet Online, eloquent, Polo Outlet Online, flying in the sky, Cheap Canada Goose, limp walk downs, strange things, Marc Jacobs Outlet Online, I float thinking lianpian, North Outlet Online, poetic heart wenqing, not help surging surging, Coach Factory Outlet, so I borrowed the winter, Ralph Lauren UK, snows research ink, Longchamp Sacs Sortie, into the mind of inactivity, Michael Kors Outlet, the white snow everywhere, Monster Beats By Dre, wrapped in some different, Ralph Lauren Outlet, kind of scenery, Oakley Sunglaases Outlet, wherever the wind in the faces, of the people, Michael Kors Bags Outlet, who are very Huddled, could not help.

Post Comment