TimmyStorms/hibernate-ogm-neo4j-example — pull request #1 by DavideD (2014-03-14 11:18:31+00:00)
Title: Neo4j Test

Hi @TimmyStorms,
I've made a few changes to the tests and now both configuration should work in the same way.

In the current release of hibernate there is a bug in the way Neo4j store data, basically it doesn't create them as expected. I've already sent a pull request that should fix this bug and [uses Neo4j 2.0.1](https://github.com/hibernate/hibernate-ogm/pull/305). It's not included yet but if you install it in your local repository and replace the version in the pom you can try it.

I had to change the `printDbContents()` because with the latest Neo4j you cannot do anything without outside a transaction.

I will explain the things I've changes in more detail in the [forum](https://forum.hibernate.org/viewtopic.php?f=31&t=1031583).

I hope this help,
Cheers