root/releases/bedework-3.8/deployment/resources/hibernate/hbms/ResourceContent.hbm.xml

Revision 3479 (checked in by douglm, 1 year ago)

Change dtd in hbm.xml files to match hibernate 3.6

Line 
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3   "-//Hibernate/Hibernate Mapping DTD//EN"
4   "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
5
6 <!-- ===================================================================
7      A resource content definition in Bedework.
8      =================================================================== -->
9
10 <hibernate-mapping>
11   <class name="org.bedework.calfacade.BwResourceContent"
12          table="bw_resource_contents">
13     <cache usage="read-write"/>
14     <id name="id" type="integer" column="id" unsaved-value="-1">
15       <generator class="native"/>
16     </id>
17
18     <version name="seq" column="bwseq" type="integer" />
19
20     <property name="colPath" column="bw_col_path" type="string" length="3000"
21               index="bwidx_rsrc_content_colpath" />
22
23     <property name="name" column="bwname" type="string"
24               length="100" not-null="true" />
25
26     <property name="value" column="bw_value" type="blob"/>
27   </class>
28
29   <!-- =================================================================
30         queries
31        ================================================================= -->
32 </hibernate-mapping>
Note: See TracBrowser for help on using the browser.