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" />
 <property name="userName" type="string" column="XWL_AUTHOR" length="255" />
 <property name="date" type="timestamp" column="XWL_DATE" not-null="true" />

The columns of the xwikilock table are:

ColumnData typeClass propertyDefault valuenot-nullIndex
XWL_DOC_ID (primary key)bigint(20)-0true-

Related Pages

Trying to decide between Cloud and On Premise? See the comparison on the XWiki Help Center.

Search this space