5 Replies Latest reply on Mar 29, 2008 12:06 AM by Manuel Chacon

    seam generate-entities problem NO @OneToMany or @ManyToMany

    Manuel Chacon Newbie

      I may be doing something wrong, but I don't know what it could be because 95% of seam-gen is working fine for me.  The only problem is that it is not generating the @OneToMany or @ManyToMany annotations in my entity beans.  I have set up a typical ManyToMany situation with 2 parent tables and an intersection table with 2 foreign keys between them.



      Any tips are greatly appreciated.


      Using..
      MySQL 5.0.x on Mac OSX 10.4 and SEAM 2.0.1 GA


      seam-gen properties for the setup task are ....


      All the typical stuff for MySQL.  The only thing I can think that may be confusing it it the JDBC URL I am using.


      The MySQL database name is DBOne


      The JDBC URL I use is jdbc:mysql://localhost:3306/DBOne


      Another weird thing is that the @Entity annotations have the   catalog option set to the database name in the @Table entity.