This is just a quick note that the Hibernate Metamodel Generator code has moved and is now, as of version 4.3.0.Final, part of Hibernate ORM. You can find it in the tooling/metamodel-generator sub-directory of ORM. Unfortunately this news have been falling under the table during the announcement of ORM 4.3.0.Final. After all the focus was on JPA 2.1 support :-)
There are several reasons for the move. For one, we hope that the generator will get a greater exposure within the ORM code-base and that it will benefit from the more regular ORM release schedule. For another, the generator fitted nicely into the newly created collection of Hibernate ORM tooling artifacts (check for example the maven/gradle plugins for byte code enhancement). Code wise nothing has changed. The annotation processor is still agnostic of the JPA provider and can be used with any provider to generate the metamodel classes for type-safe criteria queries. So what has changed:
- The code location. It is now https://github.com/hibernate/hibernate-orm/tree/master/tooling/metamodel-generator
- The Maven GAV. Even though the group and artifact id stay the same, there is now a version jump from 1.3.0.Final (the last release from the old repository) to 4.3.0.Final (latest stable ORM release):
org.hibernate:hibernate-jpamodelgen:4.3.0.Final
- The documentation. It is now part of the ORM - see JPA Static Metamodel Generator
- The issue tracker. Please use the Hibernate ORM issue tracker for bug reports and select the metagen component to make it easier for us to categorize bugs
Enjoy!