The "xwikilock" Table

The xwikilock table corresponds to the com.xpn.xwiki.doc.XWikiLock class and it stores information about locks on document edition.

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

<class name="com.xpn.xwiki.doc.XWikiLock" table="xwikilock">
 <id name="docId" type="long" unsaved-value="undefined">
   <column name="XWL_DOC_ID" not-null="true" />
   <generator class="assigned" />
 </id>
 <property name="userName" type="string" column="XWL_AUTHOR" length="255" />
 <property name="date" type="timestamp" column="XWL_DATE" not-null="true" />
</class>

The columns of the xwikilock table are:

ColumnData typeClass propertyDefault valuenot-nullIndex
XWL_DOC_ID (primary key)bigint(20)-0true-
XWL_AUTHORvarchar(255)userNamenullfalse-
XWL_DATEdatetimedate-true-

Related Pages

Search this space