This content has been marked as final.
Show 2 replies
-
1. Re: Multiple database mappings in one EAR file
yong_jiao Aug 8, 2006 8:43 PM (in response to gzus)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 -
2. Re: Multiple database mappings in one EAR file
gzus Aug 9, 2006 6:27 AM (in response to gzus)It is the same EJB, just with support for different databases.
In the three jbosscmp-jdbc I have different mappings for each of the databases. This is for the different datatypes, i.e. TEXT/MEDIUMTEXT etc.
There are no way use several of these CMP mappings for each datasource ?