~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/DataEntryForm.hbm.xml

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
 
3
  "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
 
4
 
 
5
<hibernate-mapping>
 
6
  <class name="org.hisp.dhis.dataset.DataEntryForm" table="dataentryform">
 
7
    <id name="id" column="dataentryformid">
 
8
      <generator class="native"/>
 
9
    </id>
 
10
 
 
11
    <property name="name" not-null="true" unique="true" length="160"/>
 
12
 
 
13
    <many-to-one name="dataSet" class="org.hisp.dhis.dataset.DataSet" column="datasetid" foreign-key="fk_dataentryform_datasetid" unique="true"/>
 
14
 
 
15
    <property name="htmlCode" column="htmlcode" length="10000000"/>
 
16
  </class>
 
17
</hibernate-mapping>