0 Replies Latest reply on Jan 29, 2008 8:42 AM by beligum

    Using different databases without <exclude-unlisted-classes>

    beligum

      Hi all,

      I've got a simple configuration-question:

      Is it possible to use 2 databases in my project, without specifying which class is mapped to which database (using <exclude-unlisted-classes> and in persistence.xml), but instead, depending totally on the catalog="mydb" property of the @Table entity annotation?

      thx.

      b.