metamodel « Eclipse « JPA Q&A





1. Why aren't APT generated classes being compiled by Eclipse?    stackoverflow.com

In my Eclipse project I'm using a third-party annotation processor, Hibernate Metamodel Generator to be exact. The annotation processor works as expected and generates .java files as specified by ...

2. How to create the metamodel for multiple persistence units using the same entity classes?    stackoverflow.com

I get: diagnostic error: javax.annotation.processing.FilerException: Attempt to recreate a file for type for:

                 ...

3. Metamodel generation in Eclipse    forum.hibernate.org

Hi, I'm using the latest jpamodelgen and jpa2 with a m2eclipse project in Eclipse which I have set up according to the documentation. The strange thing is that I get the source files generated fine under /target/metamodel but they are not compiled even if that folder is added as a source folder and I have all autobuilding on etc. This results ...