[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Multiple database mappings in one EAR file

yongjun_jiao do-not-reply at jboss.com
Tue Aug 8 20:43:14 EDT 2006


I didn't do such a deployment before. However based on my understanding, you can have 2 options:
(1)make 3 ejb jar files each of which has its own jbosscmp-jdbc.xml.
(2)Or if all your ejb are in one jar file, you need to specify the "datesource" for each  in the only jbosscmp-jdbc.xml

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

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



More information about the jboss-user mailing list