|
From: Alexey L. <lou...@us...> - 2004-04-16 13:01:10
|
User: loubyansky
Date: 04/04/16 06:01:04
Modified: src/etc/conf/default Tag: Branch_3_2
standardjbosscmp-jdbc.xml
Log:
fixed the default java.lang.Short mapping for Oracle9i
Revision Changes Path
No revision
No revision
1.39.2.45 +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.39.2.44
retrieving revision 1.39.2.45
diff -u -r1.39.2.44 -r1.39.2.45
--- standardjbosscmp-jdbc.xml 5 Apr 2004 12:07:49 -0000 1.39.2.44
+++ standardjbosscmp-jdbc.xml 16 Apr 2004 13:01:03 -0000 1.39.2.45
@@ -9,7 +9,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.44 2004/04/05 12:07:49 loubyansky Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39.2.45 2004/04/16 13:01:03 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>
|