From: Ole H. <sp...@us...> - 2002-07-14 20:01:37
|
User: sparre Date: 02/07/14 13:01:36 Modified: src/etc/conf/default Tag: Branch_3_0 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". This is a backport of the same fix in HEAD Revision Changes Path No revision No revision 1.23.2.15 +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.23.2.14 retrieving revision 1.23.2.15 diff -u -r1.23.2.14 -r1.23.2.15 --- standardjbosscmp-jdbc.xml 27 Jun 2002 19:58:50 -0000 1.23.2.14 +++ standardjbosscmp-jdbc.xml 14 Jul 2002 20:01:35 -0000 1.23.2.15 @@ -7,7 +7,7 @@ <!-- --> <!-- ===================================================================== --> -<!-- $Id: standardjbosscmp-jdbc.xml,v 1.23.2.14 2002/06/27 19:58:50 dsundstrom Exp $ --> +<!-- $Id: standardjbosscmp-jdbc.xml,v 1.23.2.15 2002/07/14 20:01:35 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> |