svn commit: r819411 - /ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r819411 - /ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml

lektran
Author: lektran
Date: Sun Sep 27 21:26:47 2009
New Revision: 819411

URL: http://svn.apache.org/viewvc?rev=819411&view=rev
Log:
Changing MySQL's blob type from BLOB to LONGBLOB which moves the maximum column size up to 2GB from 64KB which is more inline with the other db mappings for blobs that seem to range within 2-4GB

Modified:
    ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml

Modified: ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml?rev=819411&r1=819410&r2=819411&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml (original)
+++ ofbiz/trunk/framework/entity/fieldtype/fieldtypemysql.xml Sun Sep 27 21:26:47 2009
@@ -22,7 +22,7 @@
         xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/fieldtypemodel.xsd">
   <!-- ===================== field-type-def ==================== -->
     <!-- General Types -->
-    <field-type-def type="blob" sql-type="BLOB" java-type="java.sql.Blob"></field-type-def>
+    <field-type-def type="blob" sql-type="LONGBLOB" java-type="java.sql.Blob"></field-type-def>
 
     <field-type-def type="date-time" sql-type="DATETIME" java-type="java.sql.Timestamp"></field-type-def>
     <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"></field-type-def>