1
<?xml version="1.0" encoding="UTF-8" ?>
4
PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
5
"http://ibatis.apache.org/dtd/sql-map-2.dtd">
7
<sqlMap namespace="groupSet">
11
<typeAlias alias="organisationUnitGroupSet" type="org.hisp.dhis.organisationunit.OrganisationUnitGroupSet"/>
12
<typeAlias alias="booleanTypeHandler" type="org.hisp.dhis.importexport.dhis14.file.typehandler.BooleanTypeHandler"/>
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"/>
26
<select id="getOrganisationUnitGroupSets" resultMap="groupSetResultMap">
27
SELECT * FROM OrgUnitGroupSet
b'\\ No newline at end of file'