I was wondering the same thing. I don't know what's the length limit
for all DBMSs, but I guess it should work. A test from people with
oracle, derby, postgre would be good.
On 9/9/07, Vincent Massol <vincent(a)massol.net> wrote:
  Hi Sergiu,
 I'm just curious, is your change below going to be valid on all DBs?
 Thanks
 -Vincent
 On Sep 9, 2007, at 1:04 AM, Sergiu Dumitriu wrote:
 > Author: sdumitriu
 > Date: 2007-09-09 01:01:36 +0200 (Sun, 09 Sep 2007)
 > New Revision: 4852
 >
 > Modified:
 >    xwiki-platform/core/trunk/xwiki-core/src/main/resources/
 > xwiki.hbm.xml
 > Log:
 > XWIKI-1726: Exception deleting large documents
 > Fixed.
 >
 >
 > Modified: xwiki-platform/core/trunk/xwiki-core/src/main/resources/
 > xwiki.hbm.xml
 > ===================================================================
 > --- xwiki-platform/core/trunk/xwiki-core/src/main/resources/
 > xwiki.hbm.xml 2007-09-08 19:49:47 UTC (rev 4851)
 > +++ xwiki-platform/core/trunk/xwiki-core/src/main/resources/
 > xwiki.hbm.xml 2007-09-08 23:01:36 UTC (rev 4852)
 > @@ -139,7 +139,7 @@
 >          </natural-id>
 >          <property name="deleter" type="string"
 > column="XDD_DELETER" index="deleter"/>
 >       <property name="xml" type="text">
 > -         <column name="XDD_XML" not-null="true" />
 > +         <column name="XDD_XML" not-null="true"
length="1000000000"/>
 >       </property>
 >      </class> 
Sergiu
--
http://purl.org/net/sergiu