From Emmanuel (regarding references to OgmEntityPersister):
For Infinispan, it seems it's to access OgmEntityPersister.getRootEntityKeyMetadata() we could create an interface SPI hosting this.
I don't know how to access any column name from the EntityPersister but you can do {{Lockable.getVersionColumnName(). Would that be sufficient?
For the query, getting the GridType if that's what you are looking for could be a contract of the interface I mentioned above.
So yes let's keep it in impl and build the necessary contract in a dedicated interface (new issue).
|