Users expect to be able to use Spring with OGM but we don't have an integration test at the moment.
This is also helpful as demo or example.
You can use Spring Data over JPA. In this way, Hibernate OGM as JPA implementation works fine. I will send example for you.
Encountering the following Exception: org.hibernate.ogm.exception.NotSupportedException: - criteria queries are not supported yet.
It is impossible to integrate with Spring as of today, it is though possible to just define and inject custom beans that will provide you with EntityManagerFactory and TransactionManager, but this is as good as just using java SE.
, The work on this issue can be continued after is resolved.
Could you please describe why criteria api blocks test for Spring ?
Spring boot pulls int hibernate:orm 5.0.12 and hibernate:ogm 5.1+ requires orm version 5.1+