[hibernate-dev] metamodel branch and javax.persistence.metamodel.Metamodel

2012-07-21 Thread Steve Ebersole
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

Re: [hibernate-dev] Fwd: Re: Proxies and typing

2012-07-21 Thread Steve Ebersole
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