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:

    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 )

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.

07. Jul 2014, 11:26 CET | Link

The Microsoft SQL Server JDBC Driver supports question timeout. however that support so needs the driving force to send associate degree attention (cancel) message to the server and therefore the server to reply during a timely manner. The thread execution the question is simply unblocked on receipt of a (cancel ack/error) response from the server. If the server doesn't acknowledge the cancel signal till once the timeout amount has go on, then the particular time till the applying sees the timeout are going to be larger than the timeout amount.

16. Jul 2014, 17:50 CET | Link

So you've made up give it your all go out inside your best Dior replica handbags and grow different. Or perhaps it is time with the long deserved gift. And has now becoming a designer bag. The marketplace is huge - designers are a dime a dozen, in case you concentrate on that all designer incorporates a range, your confusion may turn right there. So think about it now, pick up your bag along with your coat, lets decide to I'll provide you with how to find a bag perfect for you.

Next, consider your wardrobe. What things you mostly wear? Designer replica handbags tend to be very versatile, nevertheless , you still need to choose a bag that can select many of the clothes within your wardrobe. Also keep in mind shoes and belts too, there're section of your wardrobe.The first thing to take into consideration one's body type. Some people are petite while others are plus sized. You are a petite, a little bag suits you best just because a big bag will pull much Rolex replica emphasis onto itself that it will shrink you will further.

Lastly, consider your lifestyle. Some of us are subtle people Replica watches UK and several of people not too subtle. There is a designer bag for any woman, so go for the one that best defines what you do. If you are a mama who's busy shuttling babies backward and forward daily, you'll probably look quite interesting carrying a little replica Hermes handbags clutch of your bag which has a beautiful flower on there. Obtain a adequate bag to handle your business. Same for for anyone who is a hot 23 years old girl. An enormous plain tote won't sell you enough, if you like understated. There's replica bags for all, you need to your time and effort to select.If you are plus, a greater bag will do best, because it will still rise to the top.

Post Comment