1 Reply Latest reply on Aug 10, 2009 7:51 PM by Arbi Sookazian

    Seam-gen fails with this DB model

    B Tomic Newbie
      I have a model like this: a User can have other Users as friends. A friendship has a Data_since attribute in addition to foreign keys, like this:

      id*, name  

      id1*,id2*, since

      After seam-gen is used to reverse engineer this data structure, "seam explode" fails saying something like: "usersHome is already defined in test.action.FriendshipsHome".

      When I change the DB structure, so that Friendships has only one foreign key referencing User's ID, it works fine.

      Is there anything I can do about this?