flush all sub sessions before commit when 2PC is not used
---------------------------------------------------------
Key: HSHARDS-49
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-49
Project: Hibernate Shards
Issue Type: New Feature
Components: engine
Affects Versions: 3.0.0.Beta2
Reporter: Emmanuel Bernard
Assignee: Max Ross
Priority: Minor
When 2PC is not used, it can be interesting to minimize the risk and flush all operations
before running all the commits.
We might be able to guess that and disable the internal Hibernate flush for each session
in this case,
we also could let this as a recommended pattern for users (trigger flush manually before
commit)
or we could do it during transaction.commit() maybe optionally (define a flag property)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira