[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using different databases without <exclude-unlisted-classes>

beligum do-not-reply at jboss.com
Tue Jan 29 08:42:54 EST 2008


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. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124404#4124404

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124404



More information about the jboss-user mailing list