1 Reply Latest reply on Nov 25, 2005 5:02 AM by epbernard

    Referencing Entity from another par archive

    kato

      Is it possible to reference an entity that is defined in a seperate par archive?
      I am currently getting the following exception and suspect it is due CustomerEntity being defined in a seperate par archive.

      12:36:39,719 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=60_orderprocessing.par

      org.hibernate.AnnotationException: Unable to find entity uk.co.test.companies.CustomerEntity


      I have two archives; orderprocessing and traders, the orderprocessing par has an "order" entity that maps a "customer" entity that is defined in the "traders" par.


      Thanks,
      Kato.