0 Replies Latest reply on Jan 24, 2011 1:47 PM by Leonardo Mahler

    Seam x JPA x @EmbeddedId

    Leonardo Mahler Newbie

      Hello! I have lots of many-to-many ralationships in a already created database!
      I´ve created the entities using JPA through Eclipse. Thus, for the EmbeddedIds, from my many-to-many relationships, I have a separated entity created by JPA (something like xxxxxPK)!
      Then, I tried to use seam generate selecting the "already have entities" through Eclipse. Seam identified correctly all EmbeddedIds but wrote xxxxxxxId into Home files! Why doesn´t Seam keep the xxxxxPK from the original entities?
      To fix it, I need to change Id to FK in all Home files referenced.

      Tks a lot for help!
      Leo.