Author: sdumitriu
Date: 2008-01-08 14:52:28 +0100 (Tue, 08 Jan 2008)
New Revision: 6665
Modified:
xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.derby.hbm.xml
xwiki-platform/core/branches/xwiki-core-1.2/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.
Merged from [EMAIL PROTECTED]
Modified:
xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.derby.hbm.xml
===================================================================
---
xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.derby.hbm.xml
2008-01-08 13:50:02 UTC (rev 6664)
+++
xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.derby.hbm.xml
2008-01-08 13:52:28 UTC (rev 6665)
@@ -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/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml
===================================================================
---
xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml
2008-01-08 13:50:02 UTC (rev 6664)
+++
xwiki-platform/core/branches/xwiki-core-1.2/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml
2008-01-08 13:52:28 UTC (rev 6665)
@@ -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
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications