The "xwikidates" Table

The xwikidates table stores data from XWiki objects of type "Date" and it corresponds to the com.xpn.xwiki.objects.DateProperty class which is a sub-class of com.xpn.xwiki.objects.BaseProperty.

The mapping information is available in the xwiki.hbm.xml file:

<class name="com.xpn.xwiki.objects.BaseProperty" table="xwikiproperties">
 <composite-id unsaved-value="undefined">
   <key-property name="id" column="XWP_ID" type="long" />
   <key-property name="name" type="string">
     <column name="XWP_NAME" index="PROP_NAME" />
   </key-property>
 </composite-id>
 <property name="classType" type="string" column="XWP_CLASSTYPE" length="255" />
 <joined-subclass name="com.xpn.xwiki.objects.DateProperty" table="xwikidates">
   <key>
     <column name="XWS_ID" />
     <column name="XWS_NAME" index="XWDATE_NAME" />
   </key>
   <property name="value" type="timestamp" column="XWS_VALUE" index="XWDATE_VALUE" />
 </joined-subclass>
</class>

The columns of the xwikidates table are:

ColumnData typeClass propertyDefault valuenot-nullIndex
XWS_ID (primary key)bigint(20)-0true-
XWS_NAME (primary key)varchar(255)--trueXWDATE_NAME
XWS_VALUEdatetimevalue0000-00-00 00:00-XWDATE_VALUE

 

Related Pages

Search this space

 

Most popular tags

Failed to execute the [groovy] macro
  1. access rights
  2. activity stream
  3. annotation
  4. attachment
  5. comment
  6. Document Tree Macro
  7. export
  8. Extension Manager
  9. Flamingo skin
  10. global user
  11. Groovy event listener
  12. group
  13. nested page
  14. search
  15. skin
  16. syntax
  17. user
  18. user profile
  19. velocity macros
  20. wiki
  21. wysiwyg
  22. XWiki Applications
  23. xwikiattachment_archive table
  24. xwikiattachment table
  25. xwikiattrecyclebin table
  26. xwikiproperties table

[Display all tags from this space]