To perform this, I need to have all the required columns to make the correct findOne() call.
Therefore, the EntityKey doesn't have those information so, I looked at OgmLoader (precisely at getResultSet()).
The point here is that the OgmEntityPersister doesn't provide any getPropertyColumnNames() (which should return a String[]) and the property from the AbstractEntityPersister is private so I cannot at least create the method.
To perform this, I need to have all the required columns to make the correct findOne() call.
Therefore, the EntityKey doesn't have those information so, I looked at OgmLoader (precisely at getResultSet()).
The point here is that the OgmEntityPersister doesn't provide any getPropertyColumnNames() (which should return a String[]) and the property from the AbstractEntityPersister is private so I cannot at least create the method.
Any thoughts about that ?