~registry/dhis2-academy/group11

« back to all changes in this revision

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

  • Committer: Lars Helge Overland
  • Date: 2011-11-23 18:07:35 UTC
  • Revision ID: larshelge@gmail.com-20111123180735-6bf574xz5tasl5j5
Changed from object type Booleans to primitive type booleans in the domain model. Object types were used when adding new properties to existing objects to avoid not-null db errors on startup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    
18
18
    <property name="valueType" not-null="true" />
19
19
 
20
 
    <property name="mandatory" />
21
 
 
22
 
    <property name="dataElementAttribute" />
23
 
 
24
 
    <property name="indicatorAttribute" />
25
 
 
26
 
    <property name="organisationUnitAttribute" />
27
 
 
28
 
    <property name="userAttribute" />
 
20
    <property name="mandatory" not-null="true" />
 
21
 
 
22
    <property name="dataElementAttribute" not-null="true" />
 
23
 
 
24
    <property name="indicatorAttribute" not-null="true" />
 
25
 
 
26
    <property name="organisationUnitAttribute" not-null="true" />
 
27
 
 
28
    <property name="userAttribute" not-null="true" />
29
29
 
30
30
    <property name="sortOrder" />
31
31