dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06862
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1914: Added missing columns to statement builder for category batchhandler
------------------------------------------------------------
revno: 1914
committer: Bob Jolliffe bobjolliffe@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2010-08-09 21:35:18 +0100
message:
Added missing columns to statement builder for category batchhandler
modified:
dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataElementCategoryBatchHandler.java
--
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-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataElementCategoryBatchHandler.java'
--- dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataElementCategoryBatchHandler.java 2010-04-12 21:23:33 +0000
+++ dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis/jdbc/batchhandler/DataElementCategoryBatchHandler.java 2010-08-09 20:35:18 +0000
@@ -86,11 +86,15 @@
protected void setColumns()
{
+ statementBuilder.setColumn( "uuid" );
statementBuilder.setColumn( "name" );
+ statementBuilder.setColumn( "conceptname" );
}
protected void setValues( DataElementCategory category )
{
+ statementBuilder.setValue( category.getUuid() );
statementBuilder.setValue( category.getName() );
+ statementBuilder.setValue( category.getConceptName() );
}
}