Hi [~gurkert], the problem is caused by the fact that I'm using an OPTIONAL MATCH where I should use a MATCH and that the WHERE condition is not always applied.
I've sent a pull request for this issue.
There are still some problems related to queries on embedded inside a collection, but this particular issue should be fixed once the pull is integereted: https://github.com/hibernate/hibernate-ogm/pull/521
|