Back during the EntityEntry improvements, we explored the idea of an EntityEntryFactory
and an EntityEntry interface so that one could provide alternative implementations
optimized to the specific use case.
We did not apply it in the 4.x branch possibly due to backward compatibility concerns.
I did work on a version for master back in the days
https://github.com/hibernate/hibernate-orm/pull/768
<
https://github.com/hibernate/hibernate-orm/pull/768> which got closed without being
applied.
So the question is, do we want that feature for ORM 5.0 or do we not want that feature?
https://hibernate.atlassian.net/browse/HHH-9265
<
https://hibernate.atlassian.net/browse/HHH-9265>
Emmanuel