Hi, Spring is causing the error because no hibernate dialect has been set. The dialects used by OGM is different form the dialect used by Hibernate because OGM works with NoSQL db. For this reason you cannot set the hibernate.dialect property to MongoDBDialect.
I'm not very familiar with Spring so this might be just a check that they are doing at startup. You might try to set the variable to some valid dialect since it is using OGM underneath it is possible the it will work but, as far as I know, this kind of set up (Spring + OGM) has not been tested yet.
Anyway, any kind of feedback is very useful. If you can also write a test case for this I will take a look at it
|