Last modified by Thomas Mortagne on 2023/10/10

<
From version < 3.1 >
edited by steel
on 2008/04/03
To version < 4.1 >
edited by Helmut Nagy
on 2008/04/04
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.steel
1 +XWiki.hel
Content
... ... @@ -13,10 +13,11 @@
13 13  1.1 Install the JDBC driver
14 14  
15 15  * Download the [jtds jdbc driver>http://jtds.sourceforge.net/] and install the jar file into your servers lib directory (for JBoss this could be ~~server\\\default\\\lib\\\~~, for Tomcat this might be ~~common\\\lib\\\~~)\\
16 -The connection was successfully tested with version 1.2.1 of the driver and version 1.3.1 of XWiki. Some problems occurred when using drivers > 1.2.1 so it might be better to use the old one.
17 -* Alternatively, you can use the [JDBC driver provided by Microsoft>http://www.microsoft.com/downloads/details.aspx?familyid=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en], however this has not been tested.
18 18  
17 +#info("The connection was successfully tested with version 1.2.1 of the driver and version 1.3.1 of XWiki. Some problems occurred when using drivers > 1.2.1 so it might be better to use the old one. ")
19 19  
19 +* Alternatively, you can use the [JDBC driver provided by Microsoft>http://www.microsoft.com/downloads/details.aspx?familyid=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en], however this has not been tested.
20 +
20 20  1.1 When compiling from source
21 21  
22 22  * Add {attach:xwiki.mssql.hbm.sql|xwiki.mssql.hbm.xml} to ~~xwiki&#45;core\\\src\\\main\\\resources\\\~~ and recompile everything.
... ... @@ -30,10 +30,10 @@
30 30  * Tell XWiki to use MSSQL. To do this, edit the ~~WEB&#45;INF/hibernate.cfg.xml~~ file. Replace the matching properties with the following ones (or uncomment them if they are present):
31 31  
32 32  {code:none}
33 -<property name="connection.url">jdbc:jtds:sqlserver://bl01svdwh01.bns&#45;group.com:1433/XWiki;tds=8.0;lastupdatecount=true</property>
34 +<property name="connection.url">jdbc:jtds:sqlserver://\<server-url\>:1433/XWiki;tds=8.0;lastupdatecount=true</property>
34 34   <property name="connection.username">xwiki</property>
35 35   <property name="connection.password">xwiki</property>
36 - <property name="connection.driver&#95;class ">net.sourceforge.jtds.jdbc.Driver</property>
37 + <property name="connection.driver_class ">net.sourceforge.jtds.jdbc.Driver</property>
37 37   <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
38 38   <mapping resource="xwiki.mssql.hbm.xml"/>
39 39   <mapping resource="feeds.hbm.xml"/>
... ... @@ -44,4 +44,4 @@
44 44  
45 45  If you try to do a search, via [Main.WebSearch], you will get an error. This is because the UPPER() function doesn not work on TEXT or NTEXT as used by MSSQL 2000 for blobs. The only solution I have found is to remove all the calls to upper() in [Main.WebSearch]. This is however not very practical, because it makes search case&#45;sensitive.
46 46  
47 -Alternatively, you may want to use the [Lucene search>code:Applications.SearchApplications] instead of the default search.
48 +Alternatively, you may want to use the [Lucene search>code:Applications.SearchApplication] instead of the default search.
xwiki.mssql.hbm.xml
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Tobias2Roth2
1 +XWiki.hel
Size
... ... @@ -1,1 +1,1 @@
1 -30.9 KB
1 +34.0 KB
Content
... ... @@ -51,7 +51,8 @@
51 51   </property>
52 52  
53 53   <property name="contentAuthor" type="string">
54 - <column name="XWD_CONTENT_AUTHOR" length="255" not-null="true"/>
54 + <column name="XWD_CONTENT_AUTHOR" length="255"
55 + not-null="true"/>
55 55   </property>
56 56  
57 57   <property name="creator" type="string">
... ... @@ -63,7 +63,8 @@
63 63   </property>
64 64  
65 65   <property name="content" type="text">
66 - <column name="XWD_CONTENT" length="200000" not-null="true"/>
67 + <column name="XWD_CONTENT" length="200000"
68 + not-null="true"/>
67 67   </property>
68 68  
69 69   <property name="version" type="string">
... ... @@ -71,7 +71,8 @@
71 71   </property>
72 72  
73 73   <property name="customClass" type="string">
74 - <column name="XWD_CUSTOM_CLASS" length="255" not-null="true"/>
76 + <column name="XWD_CUSTOM_CLASS" length="255"
77 + not-null="true"/>
75 75   </property>
76 76  
77 77  
... ... @@ -80,7 +80,8 @@
80 80   </property>
81 81  
82 82   <property name="xWikiClassXML" type="text">
83 - <column name="XWD_CLASS_XML" length="40000" not-null="false"/>
86 + <column name="XWD_CLASS_XML" length="40000"
87 + not-null="false"/>
84 84   </property>
85 85  
86 86   <property name="elements" type="integer" not-null="true">
... ... @@ -99,15 +99,69 @@
99 99   <column name="XWD_COMMENT" length="1023" not-null="true" />
100 100   </property>
101 101  
106 + <property name="minorEdit1" type="boolean">
107 + <column name="XWD_MINOREDIT" not-null="true" />
108 + </property>
109 +
102 102   </class>
103 103  
104 - <class name="com.xpn.xwiki.doc.XWikiDocumentArchive" table="xwikidoc">
105 - <id name="id" type="long" unsaved-value="undefined">
106 - <column name="XWD_ID" not-null="true"/>
107 - <generator class="assigned" />
112 + <class name="com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo"
113 + table="xwikircs">
114 + <composite-id name="id"
115 + class="com.xpn.xwiki.doc.rcs.XWikiRCSNodeId">
116 + <key-property name="docId" column="XWR_DOCID"
117 + type="long" />
118 + <key-property name="version1" column="XWR_VERSION1"
119 + type="integer" />
120 + <key-property name="version2" column="XWR_VERSION2"
121 + type="integer" />
122 + </composite-id>
123 + <property name="date" type="timestamp" column="XWR_DATE"
124 + not-null="true" />
125 + <property name="comment" type="text" column="XWR_COMMENT"
126 + not-null="true" />
127 + <property name="author" type="string" column="XWR_AUTHOR"
128 + not-null="true" />
129 + <property name="diff" type="boolean" column="XWR_ISDIFF"
130 + not-null="false" update="false" insert="false" />
131 + </class>
132 +
133 + <class name="com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent"
134 + table="xwikircs">
135 + <composite-id name="id"
136 + class="com.xpn.xwiki.doc.rcs.XWikiRCSNodeId">
137 + <key-property name="docId" column="XWR_DOCID"
138 + type="long" />
139 + <key-property name="version1" column="XWR_VERSION1"
140 + type="integer" />
141 + <key-property name="version2" column="XWR_VERSION2"
142 + type="integer" />
143 + </composite-id>
144 + <component name="patch">
145 + <property name="diff" type="boolean" column="XWR_ISDIFF"
146 + not-null="false" />
147 + <property name="content" type="text" column="XWR_PATCH"
148 + not-null="false" length="1000000000" />
149 + </component>
150 + </class>
151 +
152 + <class name="com.xpn.xwiki.doc.XWikiDeletedDocument"
153 + table="xwikirecyclebin" mutable="false">
154 + <id name="id" column="XDD_ID">
155 + <generator class="native" />
108 108   </id>
109 - <property name="archive" type="text">
110 - <column name="XWD_ARCHIVE" length="200000" not-null="false" />
157 + <natural-id mutable="false">
158 + <property name="fullName" column="XDD_FULLNAME"
159 + type="string" length="255" />
160 + <property name="language" column="XDD_LANGUAGE"
161 + type="string" length="5" />
162 + <property name="date" type="timestamp" column="XDD_DATE" />
163 + </natural-id>
164 + <property name="deleter" type="string" column="XDD_DELETER"
165 + index="deleter"/>
166 + <property name="xml" type="text">
167 + <column name="XDD_XML" not-null="true"
168 + length="1000000000"/>
111 111   </property>
112 112   </class>
113 113  
... ... @@ -126,8 +126,10 @@
126 126  
127 127   <class name="com.xpn.xwiki.doc.XWikiLink" table="xwikilinks">
128 128   <composite-id unsaved-value="undefined">
129 - <key-property name="docId" column="XWL_DOC_ID" type="long" />
130 - <key-property name="link" column="XWL_LINK" type="string" length="255" />
187 + <key-property name="docId" column="XWL_DOC_ID" type="long"
188 + />
189 + <key-property name="link" column="XWL_LINK" type="string"
190 + length="255" />
131 131   </composite-id>
132 132   <property name="fullName" type="string">
133 133   <column name="XWL_FULLNAME" length="255"/>
... ... @@ -134,7 +134,8 @@
134 134   </property>
135 135   </class>
136 136  
137 - <class name="com.xpn.xwiki.doc.XWikiAttachment" table="xwikiattachment">
197 + <class name="com.xpn.xwiki.doc.XWikiAttachment"
198 + table="xwikiattachment">
138 138   <id name="id" type="long" unsaved-value="undefined">
139 139   <column name="XWA_ID" not-null="true"/>
140 140   <generator class="assigned" />
... ... @@ -169,7 +169,8 @@
169 169   </property>
170 170   </class>
171 171  
172 - <class name="com.xpn.xwiki.doc.XWikiAttachmentContent" table="xwikiattachment_content">
233 + <class name="com.xpn.xwiki.doc.XWikiAttachmentContent"
234 + table="xwikiattachment_content">
173 173   <id name="id" type="long" unsaved-value="undefined">
174 174   <column name="XWA_ID" not-null="true"/>
175 175   <generator class="assigned" />
... ... @@ -176,11 +176,13 @@
176 176   </id>
177 177  
178 178   <property name="content" type="binary">
179 - <column name="XWA_CONTENT" length="4000000" not-null="true"/>
241 + <column name="XWA_CONTENT" length="4000000"
242 + not-null="true"/>
180 180   </property>
181 181   </class>
182 182  
183 - <class name="com.xpn.xwiki.doc.XWikiAttachmentArchive" table="xwikiattachment_archive">
246 + <class name="com.xpn.xwiki.doc.XWikiAttachmentArchive"
247 + table="xwikiattachment_archive">
184 184   <id name="id" type="long" unsaved-value="undefined">
185 185   <column name="XWA_ID" not-null="true"/>
186 186   <generator class="assigned" />
... ... @@ -190,10 +190,12 @@
190 190   </property>
191 191   </class>
192 192  
193 - <class name="com.xpn.xwiki.objects.classes.PropertyClass" table="xwikiclassesprop">
257 + <class name="com.xpn.xwiki.objects.classes.PropertyClass"
258 + table="xwikiclassesprop">
194 194   <composite-id unsaved-value="undefined">
195 195   <key-property name="id" column="XWP_ID" type="integer" />
196 - <key-property name="name" column="XWP_NAME" type="string" />
261 + <key-property name="name" column="XWP_NAME" type="string"
262 + />
197 197   </composite-id>
198 198   <property name="prettyName" type="string">
199 199   <column name="XWP_PRETTYNAME" length="255"/>
... ... @@ -214,7 +214,8 @@
214 214   <column name="XWP_VALIDATION_REGEXP" />
215 215   </property>
216 216  
217 - <joined-subclass name="com.xpn.xwiki.objects.classes.NumberClass" table="xwikinumberclasses">
283 + <joined-subclass
284 + name="com.xpn.xwiki.objects.classes.NumberClass" table="xwikinumberclasses">
218 218   <key>
219 219   <column name="XWN_ID" />
220 220   <column name="XWN_NAME" />
... ... @@ -227,7 +227,8 @@
227 227   </property>
228 228   </joined-subclass>
229 229  
230 - <joined-subclass name="com.xpn.xwiki.objects.classes.StringClass" table="xwikistringclasses">
297 + <joined-subclass
298 + name="com.xpn.xwiki.objects.classes.StringClass" table="xwikistringclasses">
231 231   <key>
232 232   <column name="XWS_ID" />
233 233   <column name="XWS_NAME" />
... ... @@ -238,7 +238,8 @@
238 238  
239 239   </joined-subclass>
240 240  
241 - <joined-subclass name="com.xpn.xwiki.objects.classes.DateClass" table="xwikidateclasses">
309 + <joined-subclass name="com.xpn.xwiki.objects.classes.DateClass"
310 + table="xwikidateclasses">
242 242   <key>
243 243   <column name="XWS_ID" />
244 244   <column name="XWS_NAME" />
... ... @@ -256,7 +256,8 @@
256 256  
257 257   </joined-subclass>
258 258  
259 - <joined-subclass name="com.xpn.xwiki.objects.classes.PasswordClass" table="xwikistringclasses">
328 + <joined-subclass
329 + name="com.xpn.xwiki.objects.classes.PasswordClass" table="xwikistringclasses">
260 260   <key>
261 261   <column name="XWS_ID" />
262 262   <column name="XWS_NAME" />
... ... @@ -267,7 +267,8 @@
267 267  
268 268   </joined-subclass>
269 269  
270 - <joined-subclass name="com.xpn.xwiki.objects.classes.TextAreaClass" table="xwikistringclasses">
340 + <joined-subclass
341 + name="com.xpn.xwiki.objects.classes.TextAreaClass" table="xwikistringclasses">
271 271   <key>
272 272   <column name="XWS_ID" />
273 273   <column name="XWS_NAME" />
... ... @@ -280,7 +280,8 @@
280 280   </property>
281 281   </joined-subclass>
282 282  
283 - <joined-subclass name="com.xpn.xwiki.objects.classes.BooleanClass" table="xwikibooleanclasses">
354 + <joined-subclass
355 + name="com.xpn.xwiki.objects.classes.BooleanClass" table="xwikibooleanclasses">
284 284   <key>
285 285   <column name="XWN_ID" />
286 286   <column name="XWN_NAME" />
... ... @@ -290,7 +290,8 @@
290 290   </property>
291 291   </joined-subclass>
292 292  
293 - <joined-subclass name="com.xpn.xwiki.objects.classes.StaticListClass" table="xwikislistclasses">
365 + <joined-subclass
366 + name="com.xpn.xwiki.objects.classes.StaticListClass" table="xwikislistclasses">
294 294   <key>
295 295   <column name="XWL_ID" />
296 296   <column name="XWL_NAME" />
... ... @@ -318,7 +318,8 @@
318 318   </joined-subclass>
319 319  
320 320  
321 - <joined-subclass name="com.xpn.xwiki.objects.classes.DBListClass" table="xwikidblistclasses">
394 + <joined-subclass
395 + name="com.xpn.xwiki.objects.classes.DBListClass" table="xwikidblistclasses">
322 322   <key>
323 323   <column name="XWL_ID" />
324 324   <column name="XWL_NAME" />
... ... @@ -347,7 +347,8 @@
347 347  
348 348   </class>
349 349  
350 - <class name="com.xpn.xwiki.objects.classes.BaseClass" table="xwikiclasses">
424 + <class name="com.xpn.xwiki.objects.classes.BaseClass"
425 + table="xwikiclasses">
351 351   <id name="id" type="integer" unsaved-value="undefined">
352 352   <column name="XWO_ID" not-null="true" />
353 353   <generator class="assigned" />
... ... @@ -367,16 +367,19 @@
367 367   </class>
368 368  
369 369  
370 - <class name="com.xpn.xwiki.objects.BaseProperty" table="xwikiproperties">
445 + <class name="com.xpn.xwiki.objects.BaseProperty"
446 + table="xwikiproperties">
371 371   <composite-id unsaved-value="undefined">
372 372   <key-property name="id" column="XWP_ID" type="integer" />
373 - <key-property name="name" column="XWP_NAME" type="string" />
449 + <key-property name="name" column="XWP_NAME" type="string"
450 + />
374 374   </composite-id>
375 375   <property name="classType" type="string">
376 376   <column name="XWP_CLASSTYPE" length="255"/>
377 377   </property>
378 378  
379 - <joined-subclass name="com.xpn.xwiki.objects.IntegerProperty" table="xwikiintegers">
456 + <joined-subclass name="com.xpn.xwiki.objects.IntegerProperty"
457 + table="xwikiintegers">
380 380   <key>
381 381   <column name="XWI_ID" />
382 382   <column name="XWI_NAME" />
... ... @@ -386,7 +386,8 @@
386 386   </property>
387 387   </joined-subclass>
388 388  
389 - <joined-subclass name="com.xpn.xwiki.objects.LongProperty" table="xwikilongs">
467 + <joined-subclass name="com.xpn.xwiki.objects.LongProperty"
468 + table="xwikilongs">
390 390   <key>
391 391   <column name="XWL_ID" />
392 392   <column name="XWL_NAME" />
... ... @@ -396,7 +396,8 @@
396 396   </property>
397 397   </joined-subclass>
398 398  
399 - <joined-subclass name="com.xpn.xwiki.objects.FloatProperty" table="xwikifloats">
478 + <joined-subclass name="com.xpn.xwiki.objects.FloatProperty"
479 + table="xwikifloats">
400 400   <key>
401 401   <column name="XWF_ID" />
402 402   <column name="XWF_NAME" />
... ... @@ -406,7 +406,8 @@
406 406   </property>
407 407   </joined-subclass>
408 408  
409 - <joined-subclass name="com.xpn.xwiki.objects.DoubleProperty" table="xwikidoubles">
489 + <joined-subclass name="com.xpn.xwiki.objects.DoubleProperty"
490 + table="xwikidoubles">
410 410   <key>
411 411   <column name="XWD_ID" />
412 412   <column name="XWD_NAME" />
... ... @@ -416,7 +416,8 @@
416 416   </property>
417 417   </joined-subclass>
418 418  
419 - <joined-subclass name="com.xpn.xwiki.objects.StringProperty" table="xwikistrings">
500 + <joined-subclass name="com.xpn.xwiki.objects.StringProperty"
501 + table="xwikistrings">
420 420   <key>
421 421   <column name="XWS_ID" />
422 422   <column name="XWS_NAME" />
... ... @@ -426,7 +426,8 @@
426 426   </property>
427 427   </joined-subclass>
428 428  
429 - <joined-subclass name="com.xpn.xwiki.objects.DateProperty" table="xwikidates">
511 + <joined-subclass name="com.xpn.xwiki.objects.DateProperty"
512 + table="xwikidates">
430 430   <key>
431 431   <column name="XWS_ID" />
432 432   <column name="XWS_NAME" />
... ... @@ -436,7 +436,8 @@
436 436   </property>
437 437   </joined-subclass>
438 438  
439 - <joined-subclass name="com.xpn.xwiki.objects.LargeStringProperty" table="xwikilargestrings">
522 + <joined-subclass
523 + name="com.xpn.xwiki.objects.LargeStringProperty" table="xwikilargestrings">
440 440   <key>
441 441   <column name="XWL_ID" />
442 442   <column name="XWL_NAME" />
... ... @@ -446,7 +446,8 @@
446 446   </property>
447 447   </joined-subclass>
448 448  
449 - <joined-subclass name="com.xpn.xwiki.objects.StringListProperty" table="xwikilargestrings">
533 + <joined-subclass
534 + name="com.xpn.xwiki.objects.StringListProperty" table="xwikilargestrings">
450 450   <key>
451 451   <column name="XWL_ID" />
452 452   <column name="XWL_NAME" />
... ... @@ -456,7 +456,8 @@
456 456   </property>
457 457   </joined-subclass>
458 458  
459 - <joined-subclass name="com.xpn.xwiki.objects.DBStringListProperty" table="xwikilists">
544 + <joined-subclass
545 + name="com.xpn.xwiki.objects.DBStringListProperty" table="xwikilists">
460 460   <key>
461 461   <column name="XWL_ID" />
462 462   <column name="XWL_NAME" />
... ... @@ -471,7 +471,8 @@
471 471   </list>
472 472   </joined-subclass>
473 473   </class>
474 - <class name="com.xpn.xwiki.objects.BaseObject" table="xwikiobjects">
560 + <class name="com.xpn.xwiki.objects.BaseObject"
561 + table="xwikiobjects">
475 475   <id name="id" type="integer" unsaved-value="undefined">
476 476   <column name="XWO_ID" not-null="true" />
477 477   <generator class="assigned" />
... ... @@ -487,7 +487,8 @@
487 487   </property>
488 488   </class>
489 489  
490 - <class name="com.xpn.xwiki.stats.impl.DocumentStats" table="xwikistatsdoc">
577 + <class name="com.xpn.xwiki.stats.impl.DocumentStats"
578 + table="xwikistatsdoc">
491 491   <id name="id" type="integer" unsaved-value="undefined">
492 492   <column name="XWS_ID" not-null="true" />
493 493   <generator class="assigned" />
... ... @@ -524,7 +524,8 @@
524 524   </property>
525 525   </class>
526 526  
527 - <class name="com.xpn.xwiki.stats.impl.RefererStats" table="xwikistatsreferer">
615 + <class name="com.xpn.xwiki.stats.impl.RefererStats"
616 + table="xwikistatsreferer">
528 528   <id name="id" type="integer" unsaved-value="undefined">
529 529   <column name="XWR_ID" not-null="true" />
530 530   <generator class="assigned" />
... ... @@ -540,8 +540,8 @@
540 540   <column name="XWR_CLASSNAME" not-null="true" length="255"/>
541 541   </property>
542 542  
543 - <property name="referer" type="string">
544 - <column name="XWR_REFERER" not-null="true" length="255"/>
632 + <property name="referer" type="text">
633 + <column name="XWR_REFERER" not-null="true" length="8192"/>
545 545   </property>
546 546  
547 547   <property name="pageViews" type="integer">
... ... @@ -554,7 +554,8 @@
554 554   </class>
555 555  
556 556  
557 - <class name="com.xpn.xwiki.stats.impl.VisitStats" table="xwikistatsvisit">
646 + <class name="com.xpn.xwiki.stats.impl.VisitStats"
647 + table="xwikistatsvisit">
558 558   <id name="id" type="integer" unsaved-value="undefined">
559 559   <column name="XWV_ID" not-null="true" />
560 560   <generator class="assigned" />
... ... @@ -571,15 +571,16 @@
571 571   </property>
572 572  
573 573   <property name="IP" type="string">
574 - <column name="XWV_IP" not-null="true" length="32"/>
664 + <column name="XWV_IP" not-null="true" length="255"/>
575 575   </property>
576 576  
577 - <property name="userAgent" type="string">
578 - <column name="XWV_USER_AGENT" not-null="true" length="255"/>
667 + <property name="userAgent" type="text">
668 + <column name="XWV_USER_AGENT" not-null="true"
669 + length="8192"/>
579 579   </property>
580 580  
581 - <property name="cookie" type="string">
582 - <column name="XWV_COOKIE" not-null="true" length="255"/>
672 + <property name="cookie" type="text">
673 + <column name="XWV_COOKIE" not-null="true" length="8192"/>
583 583   </property>
584 584  
585 585   <property name="uniqueID" type="string">
... ... @@ -608,7 +608,8 @@
608 608   </class>
609 609  
610 610   <!-- XWikiPreferences custom mapping -->
611 - <class entity-name="XWiki.XWikiPreferences" table="xwikipreferences">
702 + <class entity-name="XWiki.XWikiPreferences"
703 + table="xwikipreferences">
612 612   <id name="id" type="integer" unsaved-value="undefined">
613 613   <column name="XWP_ID" not-null="true" />
614 614   <generator class="assigned" />
... ... @@ -677,13 +677,16 @@
677 677   <column name="XWP_ADMIN_EMAIL" length="255"/>
678 678   </property>
679 679   <property name="validation_email_content" type="text">
680 - <column name="XWP_VALIDATION_EMAIL_CONTENT" length="60000" />
772 + <column name="XWP_VALIDATION_EMAIL_CONTENT" length="60000"
773 + />
681 681   </property>
682 682   <property name="confirmation_email_content" type="text">
683 - <column name="XWP_CONFIRMATION_EMAIL_CONTENT" length="60000" />
776 + <column name="XWP_CONFIRMATION_EMAIL_CONTENT"
777 + length="60000" />
684 684   </property>
685 685   <property name="invitation_email_content" type="text">
686 - <column name="XWP_INVITATION_EMAIL_CONTENT" length="60000" />
780 + <column name="XWP_INVITATION_EMAIL_CONTENT" length="60000"
781 + />
687 687   </property>
688 688   <property name="macros_languages" type="string">
689 689   <column name="XWP_MACROS_LANGUAGE" length="255" />
... ... @@ -775,22 +775,29 @@
775 775   <column name="XWU_ID" not-null="true" />
776 776   <generator class="assigned" />
777 777   </id>
778 - <property name="first_name" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
779 - <column name="XWU_FIRST_NAME" length="255" not-null="false" />
873 + <property name="first_name" type="string" unique="false"
874 + optimistic-lock="true" lazy="false" generated="never">
875 + <column name="XWU_FIRST_NAME" length="255" not-null="false"
876 + />
780 780   </property>
781 - <property name="last_name" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
878 + <property name="last_name" type="string" unique="false"
879 + optimistic-lock="true" lazy="false" generated="never">
782 782   <column name="XWU_LAST_NAME" length="255" not-null="false" />
783 783   </property>
784 - <property name="email" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
882 + <property name="email" type="string" unique="false"
883 + optimistic-lock="true" lazy="false" generated="never">
785 785   <column name="XWU_EMAIL" length="50" />
786 786   </property>
787 - <property name="company" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
886 + <property name="company" type="string" unique="false"
887 + optimistic-lock="true" lazy="false" generated="never">
788 788   <column name="XWU_COMPANY" length="255" />
789 789   </property>
790 - <property name="password" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
890 + <property name="password" type="string" unique="false"
891 + optimistic-lock="true" lazy="false" generated="never">
791 791   <column name="XWU_PASSWORD" length="255" />
792 792   </property>
793 - <property name="validationKey" type="string" unique="false" optimistic-lock="true" lazy="false" generated="never">
894 + <property name="validationKey" type="string" unique="false"
895 + optimistic-lock="true" lazy="false" generated="never">
794 794   <column name="XWU_VALIDATION_KEY" />
795 795   </property>
796 796   <property name="skin" type="string">
... ... @@ -816,4 +816,13 @@
816 816   </property>
817 817   </class>
818 818   -->
921 +
922 + <class name="com.xpn.xwiki.store.migration.XWikiDBVersion"
923 + table="xwikidbversion">
924 + <id name="version" type="integer" unsaved-value="undefined">
925 + <column name="XWV_VERSION" not-null="true" />
926 + <generator class="assigned" />
927 + </id>
928 + </class>
819 819  </hibernate-mapping>
930 +

Get Connected