0 Replies Latest reply on Mar 31, 2006 4:33 AM by Bernhard Neuhauser

    cmp to multiple table names

    Bernhard Neuhauser Newbie


      Is it possible to map one CMP to more then one Table?

      Bean is normaly stored inside "test"
      but history entries should be stored inside table "test_log"

      Extended question: Whats necessary to tell the EntityManager that he should store it inside the log facility?

      (Alternative would be usage of different db's or db schemes. I just want to avoid writing the same CMPs twice).