I am working with JBoss IDE and have a very basic EJB 3.0 application running.

I am trying to reverse engineer it to automagically create a Seam CRUD web 
skeleton using the Hibernate Code Generation tool. Is such a thing possible? 
(without specifying a database)

I DID declare the Entity classes in the hibernate.cfg.xml: 
                <mapping class="org.Shop.Item"/>
  |             etc...

I should mention that I am able to list the Entities under Configuration in the 
Hibernate Configuration View. However, when I run Hibernate Code Generation 
tool, I get the error
org.hibernate.MappingException: An AnnotationConfiguration instance is required 
to use <mapping class="org.Shop.Item"/>
  |   <No message>
  | 

Thank you in advance,
Raul

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939669#3939669

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939669


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to