"thomas2008ch" wrote : I did really help! Many thanks!
|
| But I wonder a little bit since the "oracle-ds.xml" looks as follow:
|
| ......
| One can see the "Oracle10g" is used. Could you explain why? :-)
The type-mapping in the -ds.xml seems to be ignored or atleast used only in some specific
case. I tried using a datasource with some invalid type-mapping (example below) and the
application deployed fine and i was even able to use the datasource in my application:
<?xml version="1.0" encoding="UTF-8"?>
|
| <!-- $Id: mysql-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -->
| <!-- Datasource config for MySQL using 3.0.9 available from:
|
http://www.mysql.com/downloads/api-jdbc-stable.html
| -->
|
| <datasources>
| <local-tx-datasource>
| <jndi-name>EJB3PersistenceDS</jndi-name>
| <connection-url>jdbc:mysql://localhost:3306/test</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>****</user-name>
| <password>*****</password>
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
| <metadata>
| <type-mapping>abcd</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154815#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...