How to generate JPA 2.0 metamodel?

Posted by yamsha on Stack Overflow See other posts from Stack Overflow or by yamsha
Published on 2010-06-14T13:32:57Z Indexed on 2010/06/14 13:42 UTC
Read the original article Hit count: 177

Filed under:
|
|

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).

EDIT: Just stumbled across Hibernate JPA 2 Metamodel Generator . But the issue remains since I can't find any download links for the jar

© Stack Overflow or respective owner

Related posts about jpa

Related posts about jpa2.0