The "xwikiattachment_content" Table

The xwikiattachment_content table corresponds to the com.xpn.xwiki.doc.XWikiAttachmentContent class and it stores the content of the wiki attachments.

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

<class name="com.xpn.xwiki.doc.XWikiAttachmentContent" table="xwikiattachment_content">
 <id name="id" type="long" unsaved-value="undefined">
   <column name="XWA_ID" not-null="true" />
   <generator class="assigned" />
 <property name="content" type="materialized_blob" column="XWA_CONTENT" length="1000000000" not-null="true" />

The columns of the xwikiattachment_content table are:

ColumnData typeClass propertyDefault valuenot-nullIndex
XWA_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