have you listed all the classes in the hibernate.cfg.xml ? that is currently required.
Could you provide more information please?
After reading your reply I added a number of [mapping class="..."/] elements to my hibernate.cfg.xml file and then reran the generator which displayed the following error message:
Exception while generating code
org.hibernate.MappingException: An AnnotationConfiguration instance is required to use [mapping class="..."/]
I then looked up the tools documentation and created the following skeletal annotation configuration file:
However I have not been able to determine:
(1) What to call this file?
(2) Where to put it on my hard disk?
(3) How to reference it within the JBoss Eclipse IDE dialog boxes?
double click the console configuration and enable the "use ejb3/annotations" checkbox.
On both occasions that have not worked, the "use ejb3/annotations" checkbox has been selected.
I have been unsuccessful in trying to generate a CRUD application from annotated EJB3 entities using the JBoss Eclipse IDE.
However I have been successful in generating the application using ant which allows the user to specify an annotationconfiguration to point to the hibernate.cfg.xml file containing class elements which specify the EJB3 entities to be used.
Just wondering if you could help me out with a few pointers on how to do this.