-
Dec 14th, 2012, 06:14 PM
#1
Auto Hibernate metamodel generation
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules