dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37803
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19306: HibernateDbmsManager.clearSession, flushing
------------------------------------------------------------
revno: 19306
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-06-08 09:58:14 +0200
message:
HibernateDbmsManager.clearSession, flushing
modified:
dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.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-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.java'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.java 2015-04-15 20:14:29 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/dbms/HibernateDbmsManager.java 2015-06-08 07:58:14 +0000
@@ -244,6 +244,7 @@
@Override
public void clearSession()
{
+ sessionFactory.getCurrentSession().flush();
sessionFactory.getCurrentSession().clear();
}