Hi,
I have annotated hibernate files and a hibernate configuration file and want to use the code generator to generate code with it. The Schema export works fine, I also checked the "ejb/annotation"-checkbox, but when trying to run the code-generator in eclipse, i get the Error "org.hibernate.MappingException: an AnnotationConfiguration instance is required to use <mapping class="test.Test"/>, but as I mentioned, the Schema Export for that matter works. It shouldn't be a problem of the annotated POJO, I tried it with a variety of mine, and it always shows the error with the first one in the list.
Anyone got a clue on this? Using the latest version of the code generator...
Thanks,
Flo
|