I am trying to configure STS to auto-generate Hibernate metamodel classes. I go to the project properties then to Java Compiler then Annotation Processing and enable annotation processing with "target/model" as the generated source directory. Then I went to the Factory Path tab and entered the jars hibernate-jpamodelgen-1.1.1.Final.jar and hibernate-jpa-2.0-api-1.0.0.Final jar. When I hit O.K. the STS prompted me to rebuild the project to which I responded yes. The folder target/metamodel appeared, but it was empty. There were no error messages on the build.
I am using STS 3.1.0. Am I missing a step?
Thank you


Reply With Quote
