root/releases/bedework-3.8/deployment/resources/hibernate/hbms/Attachment.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      Attachments
8      ============================================== -->
9
10 <hibernate-mapping>
11   <class name="org.bedework.calfacade.BwAttachment"
12          table="bw_attachments">
13     <id name="id" type="integer" column="bwid" unsaved-value="-1">
14       <generator class="native"/>
15     </id>
16
17     <property name="fmtType"
18                     column="bw_fmttype" type="string" length="20"/>
19     <property name="valueType"
20                     column="bw_valuetype" type="string" length="20"/>
21
22     <property name="encoding" column="bw_encoding" type="string"
23               length="2000"/>
24     <property name="uri" column="bw_uri" type="string"
25               length="2000"/>
26
27     <property name="value" column="bw_value" type="text"/>
28   </class>
29 </hibernate-mapping>
30
Note: See TracBrowser for help on using the browser.