In relation to the native queries, you can find information about supported queries in this paragraph: https://docs.jboss.org/hibernate/stable/ogm/reference/en-US/html_single/#ogm-mongodb-queries-native
I don’t think we cover it 100% but it’s pretty well supported. The query you mention should work. We have testcases for remove: https://github.com/hibernate/hibernate-ogm/blob/master/mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/query/nativequery/MongoDBSessionCLIQueryTest.java#L199
I also tried without any filter like in your example. Could you provide a test case?
That’s a weird exception, I don’t think it’s caused by the native query support. Seems more related to some incompatible version of the libraries you are using (just guessing)