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

« back to all changes in this revision

Viewing changes to dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/groupSet.sqlmap.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" encoding="UTF-8" ?>
 
2
 
 
3
<!DOCTYPE sqlMap
 
4
        PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
 
5
        "http://ibatis.apache.org/dtd/sql-map-2.dtd">
 
6
 
 
7
<sqlMap namespace="groupSet">
 
8
        
 
9
        <!-- TypeAlias -->
 
10
 
 
11
        <typeAlias alias="organisationUnitGroupSet" type="org.hisp.dhis.organisationunit.OrganisationUnitGroupSet"/>
 
12
        <typeAlias alias="booleanTypeHandler" type="org.hisp.dhis.importexport.dhis14.file.typehandler.BooleanTypeHandler"/>
 
13
                
 
14
        <!-- ResultMap -->
 
15
        
 
16
        <resultMap class="organisationUnitGroupSet" id="groupSetResultMap">
 
17
                <result property="id" column="OrgUnitGroupSetID"/>
 
18
                <result property="name" column="OrgUnitGroupSetName"/>
 
19
                <result property="description" column="OrgUnitGroupSetDescription"/>
 
20
                <result property="compulsory" column="OrgUnitGroupSetCompulsory" typeHandler="booleanTypeHandler"/>
 
21
                <result property="exclusive" column="OrgUnitGroupSetExclusive" typeHandler="booleanTypeHandler"/>
 
22
        </resultMap>
 
23
        
 
24
        <!-- Statement -->
 
25
                
 
26
        <select id="getOrganisationUnitGroupSets" resultMap="groupSetResultMap">
 
27
                SELECT * FROM OrgUnitGroupSet
 
28
        </select>
 
29
 
 
30
</sqlMap>
 
 
b'\\ No newline at end of file'