------------------------------------------------------------
revno: 16398
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Wed 2014-08-13 17:43:22 +0700
message:
minor fix, use timestamp for created/lastupdated in mc
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/hibernate/HibernateMessageConversationStore.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-services/dhis-service-core/src/main/java/org/hisp/dhis/message/hibernate/HibernateMessageConversationStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/hibernate/HibernateMessageConversationStore.java 2014-08-13 10:24:23 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/message/hibernate/HibernateMessageConversationStore.java 2014-08-13 10:43:22 +0000
@@ -114,8 +114,8 @@
conversation.setRead( resultSet.getBoolean( 7 ) );
conversation.setFollowUp( resultSet.getBoolean( 8 ) );
conversation.setMessageCount( resultSet.getInt( 9 ) );
- conversation.setCreated( resultSet.getDate( 10 ) );
- conversation.setLastUpdated( resultSet.getDate( 11 ) );
+ conversation.setCreated( resultSet.getTimestamp( 10 ) );
+ conversation.setLastUpdated( resultSet.getTimestamp( 11 ) );
return conversation;
}
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp