This content has been marked as final.
Show 2 replies
-
1. Re: Why Can't I Use Two MySQL Databases?
darranl Mar 15, 2005 4:55 AM (in response to gberish)Your 'standardjbosscmp-jdbc.xml' says that all CMP beans should use 'java:/DefaultDS' unless overriden in the jbosscmp-jdbc.xml of the beans.
Do you have a jbosscmp-jdbc.xml for the beans that is in your META-INF folder with the rest of the descriptors? -
2. Re: Why Can't I Use Two MySQL Databases?
gberish Mar 15, 2005 8:36 PM (in response to gberish)Just in case anyone else refers to this topic, all it took was to repeate the section in the jbosscmp-jdbc.xml in my ejb.jar META-INF directory.
<defaults> <datasource>java:/GoDS</datasource> <datasource-mapping>mySQL</datasource-mapping> ... </defaults>
The <type-mappings> section did not have to be repeated.
Thanx for all the help.