|
From: Dain S. <dsu...@us...> - 2002-05-15 03:29:40
|
User: dsundstrom
Date: 02/05/14 20:29:40
Modified: src/etc/conf/default Tag: Branch_3_0
standardjbosscmp-jdbc.xml
Log:
Changed mySQL default java.lang.Object mapping from BLOB to LONGBLOB.
Revision Changes Path
No revision
No revision
1.23.2.4 +7 -3 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.3
retrieving revision 1.23.2.4
diff -u -r1.23.2.3 -r1.23.2.4
--- standardjbosscmp-jdbc.xml 10 May 2002 03:55:36 -0000 1.23.2.3
+++ standardjbosscmp-jdbc.xml 15 May 2002 03:29:39 -0000 1.23.2.4
@@ -879,7 +879,7 @@
<sql-type>BYTEA</sql-type>
</mapping>
</type-mapping>
-
+
<type-mapping>
<name>Hypersonic SQL</name>
<row-locking-template/>
@@ -1177,7 +1177,11 @@
<mapping>
<java-type>java.lang.Object</java-type>
<jdbc-type>JAVA_OBJECT</jdbc-type>
- <sql-type>BLOB</sql-type>
+ <sql-type>LONGBLOB</sql-type>
+ <!--
+ | Change this from LONGBLOB to BLOB if you know your
+ | serialized object will be <= 2^16 bytes
+ -->
</mapping>
<mapping>
<java-type>java.lang.Integer</java-type>
|