|
From: Ole H. <sp...@us...> - 2002-07-08 21:14:36
|
User: sparre
Date: 02/07/08 14:14:35
Modified: src/etc/conf/default standardjbosscmp-jdbc.xml
Log:
Changed jdbc type for the Interbase/Firebird mappings for
java.lang.Character from CHAR to VARCHAR.
Otherwise, the CMP2.0 engine will supply a Character to
the Firebird driver, which makes it choke with an exception
"Error converting to object".
Revision Changes Path
1.39 +2 -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.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- standardjbosscmp-jdbc.xml 27 Jun 2002 20:00:23 -0000 1.38
+++ standardjbosscmp-jdbc.xml 8 Jul 2002 21:14:34 -0000 1.39
@@ -7,7 +7,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.38 2002/06/27 20:00:23 dsundstrom Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.39 2002/07/08 21:14:34 sparre Exp $ -->
<jbosscmp-jdbc>
@@ -81,7 +81,7 @@
</mapping>
<mapping>
<java-type>java.lang.Character</java-type>
- <jdbc-type>CHAR</jdbc-type>
+ <jdbc-type>VARCHAR</jdbc-type>
<sql-type>CHAR</sql-type>
</mapping>
<mapping>
|