The "xwikiattachment_archive" Table

The xwikiattachment_archive table corresponds to the com.xpn.xwiki.doc.XWikiAttachmentArchive class and it stores the attachment archive in RCS format.

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

<class name="com.xpn.xwiki.doc.XWikiAttachmentArchive" table="xwikiattachment_archive">
 <id name="id" type="long" unsaved-value="undefined">
   <column name="XWA_ID" not-null="true" />
   <generator class="assigned" />
 </id>
 <property name="archive" type="materialized_blob" column="XWA_ARCHIVE" length="1000000000" />
</class>

The columns of the xwikiattachment_archive table are:

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

    

Related Pages

Search this space