|
From: Dain S. <dsu...@us...> - 2002-06-16 20:06:43
|
User: dsundstrom
Date: 02/06/16 13:06:42
Modified: src/etc/conf/default standardjbosscmp-jdbc.xml
Log:
Changed Oracle Character jdbc-type to VARCHAR as Oracle does not support
CHAR jdbc-type is setObject. This should fix Character handling in Oracle.
Changes Oracle java.lang.Object jdbc-type to BLOB to activate new BLOB
handling code. This should fix BLOB handling in Oracle.
Revision Changes Path
1.34 +6 -6 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.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- standardjbosscmp-jdbc.xml 16 Jun 2002 06:03:14 -0000 1.33
+++ standardjbosscmp-jdbc.xml 16 Jun 2002 20:06:42 -0000 1.34
@@ -7,7 +7,7 @@
<!-- -->
<!-- ===================================================================== -->
-<!-- $Id: standardjbosscmp-jdbc.xml,v 1.33 2002/06/16 06:03:14 dsundstrom Exp $ -->
+<!-- $Id: standardjbosscmp-jdbc.xml,v 1.34 2002/06/16 20:06:42 dsundstrom Exp $ -->
<jbosscmp-jdbc>
@@ -284,7 +284,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>
@@ -314,7 +314,7 @@
</mapping>
<mapping>
<java-type>java.lang.Object</java-type>
- <jdbc-type>JAVA_OBJECT</jdbc-type>
+ <jdbc-type>BLOB</jdbc-type>
<sql-type>BLOB</sql-type>
<!--
| Change this from BLOB to RAW(255) if you know your
@@ -410,7 +410,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>
@@ -444,7 +444,7 @@
</mapping>
<mapping>
<java-type>java.lang.Object</java-type>
- <jdbc-type>JAVA_OBJECT</jdbc-type>
+ <jdbc-type>BLOB</jdbc-type>
<sql-type>BLOB</sql-type>
<!--
| Change this from BLOB to RAW(255) if you know your
@@ -535,7 +535,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>
|