[exo-jcr-commits] exo-jcr SVN: r4342 - jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu May 5 03:18:58 EDT 2011


Author: tolusha
Date: 2011-05-05 03:18:58 -0400 (Thu, 05 May 2011)
New Revision: 4342

Modified:
   jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sql
   jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sql
Log:
EXOJCR-1330: increase size for DATA field of JCR_M(S)VALUE table

Modified: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sql
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sql	2011-05-02 09:59:35 UTC (rev 4341)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sql	2011-05-05 07:18:58 UTC (rev 4342)
@@ -20,7 +20,7 @@
 CREATE UNIQUE INDEX JCR_IDX_MITEM_PARENT_ID ON JCR_MITEM(I_CLASS, PARENT_ID, ID, VERSION DESC);
 CREATE TABLE JCR_MVALUE(
 	ID BIGINT generated by default as identity (START WITH 2) NOT NULL, 
-	DATA VARBINARY(65535), 
+	DATA VARBINARY(16777216), 
 	ORDER_NUM INTEGER NOT NULL, 
 	PROPERTY_ID VARCHAR(96) NOT NULL,
 	STORAGE_DESC VARCHAR(512),

Modified: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sql
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sql	2011-05-02 09:59:35 UTC (rev 4341)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sql	2011-05-05 07:18:58 UTC (rev 4342)
@@ -21,7 +21,7 @@
 CREATE UNIQUE INDEX JCR_IDX_SITEM_PARENT_ID ON JCR_SITEM(I_CLASS, CONTAINER_NAME, PARENT_ID, ID, VERSION DESC);
 CREATE TABLE JCR_SVALUE(
 	ID BIGINT generated by default as identity (START WITH 2) NOT NULL, 
-	DATA VARBINARY(65535),
+	DATA VARBINARY(16777216),
 	ORDER_NUM INTEGER NOT NULL,
 	PROPERTY_ID VARCHAR(96) NOT NULL,
 	STORAGE_DESC VARCHAR(512),



More information about the exo-jcr-commits mailing list