[Branch ~dhis2-devs-core/dhis2/trunk] Rev 387: Applied the generic Hibernate store more places