In the spirit of type safety associated with the CriteriaQuery JPA 2.0 also has an API to support Metamodel representation of entities. Is anyone aware of a fully functional implementation of this API (to generate the Metamodel... as opposed to creating the metamodel classes manually)? It would be awesome if someone also knows the steps for setting this up in Eclipse (I assume it's as simple as setting up an annotation processor, but you never know).

any chance for a link to a compiled Hibernate Static Metamodel Generator (in a form of a JAR file)? What I found only contained sources and pom.xml. I don't use maven and just want a simple JAR which I can't seem to find
–
AndreyJun 14 '10 at 14:05

Just to be clear, the generated stuff can be used with eclipselink, even though you use hibernate to generate it, I couldnt generate meta model from netbeans 8 and had to create a maven test project to generate my stuff
–
Kalpesh SoniMar 28 '14 at 18:49