|
From: Alexey L. <lou...@us...> - 2004-04-16 13:02:58
|
User: loubyansky
Date: 04/04/16 06:02:47
Modified: src/etc/conf/default standardjbosscmp-jdbc.xml
Log:
fixed the default java.lang.Short mapping for Oracle9i
Revision Changes Path
1.77 +3 -2 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml
Index: standardjbosscmp-jdbc.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- standardjbosscmp-jdbc.xml 5 Apr 2004 12:43:57 -0000 1.76
+++ standardjbosscmp-jdbc.xml 16 Apr 2004 13:02:47 -0000 1.77
@@ -9,7 +9,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.76 2004/04/05 12:43:57 loubyansky Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.77 2004/04/16 13:02:47 loubyansky Exp $ -->
<jbosscmp-jdbc>
@@ -725,7 +725,8 @@
</mapping>
<mapping>
<java-type>java.lang.Short</java-type>
- <jdbc-type>SMALLINT</jdbc-type>
+ <jdbc-type>NUMERIC</jdbc-type>
+ <!-- <jdbc-type>SMALLINT</jdbc-type> this resulted in a ClassCastException -->
<sql-type>NUMBER(5)</sql-type>
</mapping>
<mapping>
|