dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03660
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1218: Limited number of columns retrieved during dhis14 datavalue import.
------------------------------------------------------------
revno: 1218
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Fri 2009-12-11 21:59:28 +0100
message:
Limited number of columns retrieved during dhis14 datavalue import.
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/routineDataValue.sqlmap.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/routineDataValue.sqlmap.xml'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/routineDataValue.sqlmap.xml 2009-11-25 17:51:16 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/resources/sqlmap/routineDataValue.sqlmap.xml 2009-12-11 20:59:28 +0000
@@ -17,18 +17,18 @@
<result property="periodId" column="DataPeriodID"/>
<result property="organisationUnitId" column="OrgUnitID"/>
<result property="value" column="EntryNumber" nullValue="0"/>
- <result property="storedBy" column="lastUserID"/>
+ <result property="storedBy" column="LastUserID"/>
<result property="comment" column="Comment"/>
</resultMap>
<!-- Statement -->
<select id="getRoutineDataValues" resultMap="routineDataValueResultMap">
- SELECT * FROM RoutineData
+ SELECT DataElementID, DataPeriodID, OrgUnitID, EntryNumber, LastUserID, Comment FROM RoutineData
</select>
<select id="getRoutineDataValuesLastUpdated" parameterClass="java.util.Date" resultMap="routineDataValueResultMap">
- SELECT * FROM RoutineData WHERE LastUpdated > #value#
+ SELECT DataElementID, DataPeriodID, OrgUnitID, EntryNumber, LastUserID, Comment FROM RoutineData WHERE LastUpdated > #value#
</select>
<select id="getDistinctPeriodIdentifiers" resultClass="java.lang.Integer">