We have a couple of TODOs in OgmEntityPersister due to visibility issues: https://github.com/hibernate/hibernate-ogm/blob/master/core/src/main/java/org/hibernate/ogm/persister/impl/OgmEntityPersister.java#L1382
We might consider fixing the visibility in ORM to avoid having these methods copied.
The methods in ORM should be made protected final so that we don't have to worry about users overriding them.
It would be nice if we could fix this in ORM 5.3 so that the next version of OGM can benefit from it.
(There might be others, the whole file should be checked)