Help

I'm happy to announce a new release of Hibernate OGM.

The MongoDB backend now supports the MongoDB CLI syntax for native queries. In Neo4j, we have solved a bug related to the way we store embedded collections (OGM-549) and we now create only one relationship for bidirectional associations. We have also worked on the compatibility with WildFLy 8.1. You can find more details about this release on JIRA.

As always, you can either download a release bundle from SourceForge or retrieve the JARs from the JBoss Nexus repository server using Maven, Gradle etc. The GAV coordinates are:

  • org.hibernate.ogm:hibernate-ogm-core:4.1.0.Beta4 for the OGM engine and
  • org.hibernate.ogm:hibernate-ogm-<datastore>:4.1.0.Beta4, depending on the backend you want to use.

Support for MongoDB CLI syntax

You can now specify queries using the MongoDB CLI syntax as shown in the following example:

    @Entity
    class Poem {
       ...
       String name;
       String author;
       ...
    }

    String poemsQuery = "db.Poem.find({'$query': { 'author': 'Oscar Wilde' }, '$orderby': { 'name': 1 }})";

    EntityManager em = ...
    List<Poem> oscarWildePoems = (List<Poem>)em.createNativeQuery( poemsQuery, Poem.class )
                                 .getResultList();

Currently only find() and count() queries are supported via the CLI syntax.

One relationship for bidirectional associations

In Neo4j, it is possible to navigate a relationship in both directions at the same speed. We moved to a more natural mapping using one relationship (instead of two) for a bidirectional association.

What's next?

For the Neo4j backend, we plan to make the mapping for one-to-one relationships more natural, remove redundant properties and translate JP-QL queries into native Cypher queries.

We will also work on the generation of error reports with the failed operations on non-transactional db.

You're very welcome to raise your voice on the mailing list, ask questions in the forum or report any bugs or feature requests in the issue tracker.

17 comments:
 
29. Aug 2014, 06:50 CET | Link
obat kanker otak herbal

That is really a brilliant post, many thanks alot : ) for telling Great luck I found out concerning this particular blog. obat kanker otak herbal

ReplyQuote
 
30. Aug 2014, 03:41 CET | Link

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.

 
01. Sep 2014, 13:31 CET | Link

Always your blog article is useful for me. It keeps users engaged in receiving the ideas and all sorts of experiences. Continue this great work! Click Here

 
11. Sep 2014, 11:50 CET | Link
jancke
Cheap Moncler Women's Jackets

Blair's mother was famous for her dinner parties, and this was her that summer in deep reds and chocolate browns, and it was full of antiques and artwork that would have impressed anyone who knew anything about art. In the center of the dining room table was an enormous silver bowl full of white orchids, pussy willows, and chestnut tree branches–a modern ensemble from Takashimaya

 
15. Sep 2014, 05:38 CET | Link
kook | cd(AT)xs.com

Can occur! Try michael kors outlet your best for more information regarding it.

 
24. Sep 2014, 13:43 CET | Link
Jason

I truly enjoy reading through on this website , it has great blog posts. “Sometime they’ll give a war and nobody will come.” by Carl Sandburg. servizio indicizzazione indicizzazione google posizionamento google seo google penalizzazione google prima pagina google posizione google

 
24. Sep 2014, 16:22 CET | Link
Girl

Very interesting points you have observed , thanks for putting up. “The surest way to get rid of a bore is to lend money to him.” by Paul Louis Courier. http://servizioindicizzazione.com

 
26. Sep 2014, 08:10 CET | Link
jack

thanks for post kokim89 My Link My Link

 
26. Sep 2014, 10:01 CET | Link
obat tbc

Agen Obat Alami Penyakit TBC amazon obat tbc

 
02. Oct 2014, 13:05 CET | Link
jassica

All of our male enhancement pills are herbal yet effective. Here at SparXXrX® we truly offer the safest, easiest way for you to naturally increase the size of your penis. sparxxrx

 
03. Oct 2014, 08:13 CET | Link
boris

Somebody necessarily lend a hand to make critically articles I would state. This is the first time I frequented your web page and up to now? I amazed with the analysis you made to make this actual publish amazing. Great process! servizioindicizzazione.com

 
08. Oct 2014, 20:04 CET | Link
Hop

And i’m glad reading your article. But wanna remark on few general things, The website style is ideal, the articles is really great : D. indicizzazione google ; posizionamento google ; servizio indicizzazione ; seo google ; penalizzazione google ; prima pagina google ; posizione google : guest post ; servizio posizionamento ; link building ; algoritmi google ; migliorare posizionamento google ;outsourcing

 
17. Oct 2014, 09:12 CET | Link
sai9

It's in point of fact a great and helpful piece of information. I¡¦m satisfied that you simply shared this helpful info with us. Please stay us up to date like this. Thanks for sharing. excellent points altogether, you just gained a logo new reader. What might you recommend about your submit that you simply made a few days in the past? Any positive? primi sui motori

 
01. Nov 2014, 03:37 CET | Link
Somebody

I admit, that does sound scary, especially if you compare it with the recommended daily calorie intake, which is 1,800 to 3,200 calories per day.

 
04. Nov 2014, 04:07 CET | Link

As always, you can either download a release bundle from SourceForge or retrieve the JARs from the JBoss Nexus repository server using Maven, Gradle etc. The GAV coordinates are:

 
21. Nov 2014, 03:00 CET | Link
officiel
 
21. Nov 2014, 07:28 CET | Link

fixed a bug that caused a SQLGrammarException when enabling a filter that is defined on a @MappedSuperclass hierarchy because the filter condition was getting applied to all tables in the hierarchy, instead of just one where the filter is defined.

Post Comment