Help

After one month from the previous release we are happy to announce the new Hibernate OGM 4.0.0.Beta4.

Initial embedded Neo4j integration

Hibernate OGM can now work with Neo4j, a fully transactional property graph database.

Graph databases represent the data as a system of interconnected nodes and work well when you need to store information like the relationship between people in social networks. In addition, in a property graph, you can also add properties to the elements of the graph.

Hibernate OGM maps an entity as a node where the attributes of the entity become properties of the node. At the moment we add some additional properties for the conversion of the node into the entity but we are planning to replace them using the label mechanism added in the latest Neo4j versions.

The relationship between two nodes represents an association between two entities. Currently a bidirectional association requires two relationships but we are going to change this since Neo4j can navigate a relationship in both directions.

The integration with Neo4j is experimental but we are planning on improving it soon. Please, let us know what you think or help us improving it.

Native query support for MongoDB

One missing feature in the previous releases was the ability to retrieve managed entities using the query language of the database of your choice. This is particularly useful if the query language supports specific features unavailable to JP-QL or currently non implemented.

We started to work on this feature and it is now possible to execute a MongoDB query using the org.hibernate.Session or the javax.persistence.EntityManager.

Let's look at an example using the session:

List<OscarWildePoem> result = session
    .createSQLQuery( "{ $query : { author : 'Oscar Wilde' }, $orderby : { name : 1 } }" )
    .addEntity( OscarWildePoem.TABLE_NAME, OscarWildePoem.class )
    .list();

and one using the entity manager:

List<OscarWildePoem> results = entityManager
    .createNativeQuery( "{ $query : { author : 'Oscar Wilde' }, $orderby : { name : 1 } }", OscarWildePoem.class )
    .getResultList();

How to try it

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

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

12 comments:
 
31. Oct 2013, 17:18 CET | Link

Yeah!

 
19. Nov 2013, 15:26 CET | Link
Bibhas Prasad | bibhas028(AT)gmail.com

ORM is the relational mapping of Database, so it will be great if i can get piece of code having understanding of hibernate from an application

24. Jan 2014, 04:38 CET | Link

Breitling replica watches, Tag Heuer replica watches, Daytona affected watches, Day Date apery watches, Date Just affected watches, Submariner replica watches, GMT Master 2 replica watches, Cartier replica watches, Zenith affected watches, and Omega affected watches. The a lot of replica watches uk amazing affection of affected watches is that they are actual affordable and dependable watches, communicable your eyes above the imagination. Accordingly one does not accept to be afraid about his or her alternative of apery watches at all. Do you apperceive that replica rolex watches are aural section of cartier replica uk actualization accessory? If not, they absolutely angle amidst the best adulatory gifts. If you wish to accord attractive and acclaimed adulatory ability to your girlfriends, again it is none added than rolex watches at all. Besides replica watches, you can aswell anticipate about some added types of actualization accessories replica wallets, replica handbags, scarves, handsets, replica pens, necklaces, rings and earrings back they are aswell actual affable adulatory gifts. Further replica watches are beauteous searching watches because they abolish your abasement and accommodate you a accord of swiss replica watches apperception forever. Accordingly online replica watches industry offers bargain replica watches to its a lot of affable barter common in a applied manner.

 
28. Jul 2014, 09:26 CET | Link

In addition to its personal jewelry brand Anil Arjandas, he is a super player and fashion replica louis vuitton watches fine. In Instagram upload their everyday watch with his greatest hobby, along with soy sauce, accompanied by appearance of the watch and his Porsche sports car, Aston Martin sports car, Tom Ford suits, Cuban cigars and other luxury goods, pies plus not so Tyrant Popular fashion cartier replica brands for him attracted 150,000 fans from around the world. Anil Arjandas although preference Collection watches but also very gucci replica loyal, Audemars Piguet Royal Oak can be said to be his favorite. In addition, he love Tom Ford menswear, love Goyard bags and Hermes bags! Tyrant say only have the strength to play a real table, Anil Arjanda really deserved.

 
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.

 
08. Sep 2014, 07:38 CET | Link
Hasan

When you file your nails, make sure you don't file in only one direction. This can put stress on your nails and cause them to weaken, become thin and break easily. penis advantage review

 
08. Sep 2014, 11:02 CET | Link
Koaman

Are you aware that conditioner should never be applied to the roots of your hair? This is because it can make them too heavy and weigh them down, causing a flat look. Only add the conditioner to your hair from mid-length down to the bottom of its ends for best results. revitol hair removal cream

 
08. Sep 2014, 11:37 CET | Link
productive

Lifting heavy weights is productive for many parts of the body, but you should avoid lifting extreme amounts of weight when you are working out by performing neck work, dips and split squats. If the somanabolic muscle maximizer exercise puts you in a joint position that is unfavorable, keep the weight limit to a reasonable level.

 
18. Sep 2014, 13:05 CET | Link
Nuaman

Once you start college, you should schedule an appointment with your adviser to set up a study plan. Your academic adviser will help you choose your classes, your activities and make plans for your future. Meet with your adviser on a regular basis to talk about your progress and make sure you stay on the tao of badass pdf right track.

 
11. Oct 2014, 09:20 CET | Link

best longchamp handbags outlet online sale-Without the enchantingly minimalist, modern and elegant Calvin Klein spring/summer 2015 collection the final day of New York Fashion Week spring 2015 would have been so poor and boring. “New spectrum” is the theme of this marvelous collection, which has effortless chic and contemporary imprinted all over! Francisco Costa has used all his tailoring charm to make these designs perfect to bits. A beautiful play of textures, various shapes and styles is the next important ingredient of this stylish recipe. From the color palette used to the curious shapes, everything was made to be ultra-wearable and memorable in this collection, every design was there to prove the power of simplicity.

longchamp outlet-The Calvin Klein woman goes monochrome and simplistic this spring, ditching every kind of prints and patterns, every distracting detail and accessory and going for elegant shapes, towering high platforms in the color of the outfits, sleek updos and nude makeup looks. She still looks creative, bold and feminine, showing a nice way of combining clashing pieces in a single look that leads to perfection. Navy blue, white, nude and passionate red is the entire Calvin Klein spring/summer 2015 collection, which presents only monochrome looks that never look boring. Instead of going for patterns to liven up the designs, Costa has used lots of leather, see-through chiffon, shimmery materials and different colors combined in the geometric manner, which show his unique mind in designing. Thus, the show opened with polished navy blue looks, featuring elegant culottes worn with below-the-knee dresses, tea-length skirts topped with classy coats or below-the-knee dresses. It was here that layering could be seen, which was used throughout the entire line.

 
21. Nov 2014, 07:29 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.

 
17. Dec 2014, 22:41 CET | Link
cscsc

Click HELP for text You should get your sources of protein.There are ways other edible form of protein in your diet You can try consuming beans, nuts, beans, fish or even tofu. These food items are great because you can use them as main dishes as part of a main dish. Eat more than one type of protein so that you do not get bored and stick with your diet.

Eating organically can help improve how nutritious your diet is. These pure untainted foods are healthy as they are straight from nature free from additives. Take a taste of these foods and you will understand.instructions. Then edit this text and check the preview. what is penis advantage program