When converting the result of a native query to an entity, Hibernate OGM does not check that all the fields are present, this leads to an Entity that does not contain all the values.
Here a testcase to add in the class `MongoDBSessionCLIQueryTest`:
This is a problem because the value gets cached and can result in unexpected results when running subsequent queries.
I guess we should check what Hibernate ORM does, I suppose an exception should be thrown in this scenario.
See this link to stack overflow: https://stackoverflow.com/questions/48294248/hibernate-ogm-with-mongodb-result-of-2nd-query-on-same-table-dependent-on-result
We should check if the same behavior happens for the other dialects and for HQL queries.