Author: sdumitriu Date: 2008-01-08 14:50:02 +0100 (Tue, 08 Jan 2008) New Revision: 6664
Modified: xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.derby.hbm.xml xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml Log: XWIKI-1933: Database schema update issue when migrating from XE 1.1.2 to 1.2 RC2 Fix "ORA-01754: a table may contain only one column of type LONG" exception. Modified: xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.derby.hbm.xml =================================================================== --- xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.derby.hbm.xml 2008-01-08 13:36:28 UTC (rev 6663) +++ xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.derby.hbm.xml 2008-01-08 13:50:02 UTC (rev 6664) @@ -618,11 +618,11 @@ </property> <property name="userAgent" type="string"> - <column name="XWV_USER_AGENT" not-null="true" length="8192"/> + <column name="XWV_USER_AGENT" sql-type="clob" not-null="true" length="8192"/> </property> <property name="cookie" type="string"> - <column name="XWV_COOKIE" not-null="true" length="8192"/> + <column name="XWV_COOKIE" sql-type="clob" not-null="true" length="8192"/> </property> <property name="uniqueID" type="string"> Modified: xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml =================================================================== --- xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml 2008-01-08 13:36:28 UTC (rev 6663) +++ xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml 2008-01-08 13:50:02 UTC (rev 6664) @@ -613,11 +613,11 @@ </property> <property name="userAgent" type="string"> - <column name="XWV_USER_AGENT" not-null="true" length="8192"/> + <column name="XWV_USER_AGENT" sql-type="clob" not-null="true" length="8192"/> </property> <property name="cookie" type="string"> - <column name="XWV_COOKIE" not-null="true" length="8192"/> + <column name="XWV_COOKIE" sql-type="clob" not-null="true" length="8192"/> </property> <property name="uniqueID" type="string"> _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications