The background here is integrating my JPA 2.1 work in with the Hibernate
5.0 metamodel branch. One of the things the EntityManagerFactory does
when starting up is to build the JPA
javax.persistence.metamodel.Metamodel. Today that process leverages the
old Hibernate mapping code (org.hibernate
Just to bring this back up one more time :)
I plan on going this route in Hibernate 5. Specifically the part where
using @Proxy with proxyClass as an interface registers the entity under
that interface name rather than the under the class name. This gives
us the ability to expose parameterize