Author: vmassol
Date: 2008-01-09 11:32:19 +0100 (Wed, 09 Jan 2008)
New Revision: 6685

Modified:
   xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml
Log:
XWIKI-1993: Database schema update issue when migrating from XE 1.1.2 to 1.2 
RC2 on Oracle 10g

We need to explicitely set not-null="false" for Oracle since Oracle consider 
empty strings as NULL.


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-09 02:17:31 UTC (rev 6684)
+++ 
xwiki-platform/core/trunk/xwiki-core/src/main/resources/xwiki.oracle.hbm.xml    
    2008-01-09 10:32:19 UTC (rev 6685)
@@ -140,7 +140,7 @@
         </id>
         <natural-id mutable="false">
             <property name="fullName" column="XDD_FULLNAME" type="string" 
length="255" />
-            <property name="language" column="XDD_LANGUAGE" type="string" 
length="5" />
+            <property name="language" column="XDD_LANGUAGE" type="string" 
length="5" not-null="false" />
             <property name="date" type="timestamp" column="XDD_DATE" />
         </natural-id>
         <property name="deleter" type="string" column="XDD_DELETER" 
index="deleter"/>

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to