RE: [appfuse-user] Many to Many mapping error

2007-07-18 Thread Srini Bobbala
Yes, I did. -Original Message- From: Aled Rhys Jones [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 11:56 AM To: users@appfuse.dev.java.net Subject: RE: [appfuse-user] Many to Many mapping error You need to add both models to the hibernate.cfg.xml file. -Original Message- From

RE: [appfuse-user] Many to Many mapping error

2007-07-18 Thread Aled Rhys Jones
You need to add both models to the hibernate.cfg.xml file. -Original Message- From: Srini Bobbala [mailto:[EMAIL PROTECTED] Sent: 18 July 2007 09:18 To: users@appfuse.dev.java.net Subject: [appfuse-user] Many to Many mapping error Hi, I have 2 model classes (Employee and Task) which

[appfuse-user] Many to Many mapping error

2007-07-18 Thread Srini Bobbala
Hi, I have 2 model classes (Employee and Task) which have many to many relationship. I am using appfuse 2.0 with struts 2.0 and maven When I run the command mvn clean compile hibernate3:hbm2ddl I am getting an error Use of @OneToMany or @ManyToMany targeting an unmapped class: cam.model.