]
Emmanuel Bernard updated HHH-3225:
----------------------------------
Affects Version/s: 3.2.6
3.3.0.CR1
Remove the flushing flag after flush performExecutions
------------------------------------------------------
Key: HHH-3225
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3225
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.6, 3.3.0.CR1
Environment:
http://forum.hibernate.org/viewtopic.php?p=2380671#2380671
Reporter: Emmanuel Bernard
==> session.getPersistenceContext().setFlushing(true);
try {
session.getJDBCContext().getConnectionManager().flushBeginning();
// we need to lock the collection caches before
// executing entity inserts/updates in order to
// account for bidi associations
session.getActionQueue().prepareActions();
session.getActionQueue().executeActions();
}
catch (HibernateException he) {
log.error("Could not synchronize database state with session", he);
throw he;
}
finally {
==> session.getPersistenceContext().setFlushing(false);
session.getJDBCContext().getConnectionManager().flushEnding();
}
Analyze the impact of such a change
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: