This content has been marked as final.
Show 3 replies
-
1. Re: Problem with configuring datasource for CMP 2.0 (Please
resmai Apr 24, 2002 4:27 AM (in response to kenryu)You need to write your own jbosscmp-jdbc.xml which overwrites then standardjbosscmp-jdbc.xml -Tag.
<jbosscmp-jdbc>
<!-- your datasource -->
<!-- default mapping from standardjbosscmp-jdbc.xml -->
<datasource-mapping>mySQL</datasource-mapping>
false
<enterprise-beans>
...
</enterprise-beans>
</jbosscmp-jdbc> -
2. Re: Problem with configuring datasource for CMP 2.0 (Please
kenryu Apr 24, 2002 4:32 PM (in response to kenryu)hi;
Thank's , it's working now. The <datasource-mapping> is one of many problems that I have to figure out in order to get it works. But why I can still use <type-mapping> instead of <datasource-mapping> and still works fine????
^_^ -
3. Re: <type-mapping>
resmai Apr 25, 2002 12:29 PM (in response to kenryu)It's just a way to customise to your database.
See~: http://www.jboss.org/online-manual/HTML/ch06s13.html