I have the following objects
I was expecting the Mongo object would look like this:
Instead it looks like this (which is not desired):
I can achieve the desired situation as follows:
However, this is not the way I want to store the objects.
Hibernate HQL: 1.2.0.Final
Hibernate OGM: 5.0.0.Final
Hibernate OGM MongoDB: 5.0.0.Final
MongoDB Java Driver: 3.4.1