~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/dataElementGroupMember.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="dataElementGroupMember">
 
8
        
 
9
        <!-- TypeAlias -->
 
10
        
 
11
        <typeAlias alias="groupMemberAssociation" type="org.hisp.dhis.importexport.dhis14.object.Dhis14GroupMemberAssociation"/>
 
12
 
 
13
        <!-- ResultMap -->
 
14
        
 
15
        <resultMap class="groupMemberAssociation" id="dataElementGroupMemberAssociationResultMap">
 
16
                <result property="groupId" column="DataElementAndIndicatorGroupID"/>
 
17
        <result property="memberId" column="DataElementID"/>
 
18
    </resultMap>
 
19
  
 
20
        <!-- Statement -->
 
21
        
 
22
        <select id="getDataElementGroupMembers" resultMap="dataElementGroupMemberAssociationResultMap">
 
23
                SELECT * FROM DataElementGroupMember
 
24
        </select>
 
25
        
 
26
</sqlMap>
 
27
        
 
 
b'\\ No newline at end of file'