Could you please attach your working mapping file to this issue : http://jira.xwiki.org/jira/browse/XWIKI-3017 ? Thanks, JV. On Thu, Dec 18, 2008 at 2:10 PM, hel-o <[email protected]> wrote:
Hi,
the included xwiki.mssql.hbm.xml does not work. I found some problems and changed it and got a running XEM 1.7 installation but im not a mssql expert so im concerned about one thing:
In the original file there is:
<class name="com.xpn.xwiki.doc.DeletedAttachment" table="xwikiattrecyclebin" mutable="false"> ... <property name="xml" type="text" > <column name="XDA_XML" sql-type="varchar(max)" not-null="true" /> </property> ...
that doesn't work -> throws an exeption.
I changed it to:
<class name="com.xpn.xwiki.doc.DeletedAttachment" table="xwikiattrecyclebin" mutable="false"> ... <property name="xml" type="text" > <column name="XDA_XML" not-null="true" length="1000000000"/> </property> ...
and it works but i don't know if this could have negative consequences.
hel.
Sergiu Dumitriu-2 wrote:
The change is that a new field for XWikiDocument was added, "hidden". You should search for the mapping for that field in the default (hsql) mapping file, and copy it in your mssql file.
-- View this message in context: http://n2.nabble.com/xwiki-mssql-tp1672414p1672853.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users