0 Replies Latest reply on Nov 28, 2005 5:43 PM by f10

    again: multiple pars referencing each other - howto?

    f10 Newbie

      Hi all,

      I know this question was asked several times, but I couldn't find a definite answer.
      I got two .par files within my .ear with entities in the first .par referencing entity beans in the second .par.
      I have to use two persistence contexts because the db schema allready exists with two different databases, where entities in the first db have references (fk constraints) to entities in the second db.
      So, how can I map this relation between two persistence contexts properly?
      On deployment I only get an error saying that the referenced entity could not be found (annotation exception).

      Thx in advance.