InterceptorList.postFlush calls preFlush instead of postFlush
-------------------------------------------------------------
Key: HSHARDS-56
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-56
Project: Hibernate Shards
Issue Type: Bug
Affects Versions: 3.0.0
Reporter: Torbjørn Køhler
Assignee: Max Ross
Priority: Trivial
below is a patch to fix this issue.
Index: src/java/org/hibernate/shards/util/InterceptorList.java
===================================================================
--- src/java/org/hibernate/shards/util/InterceptorList.java (revision 15807)
+++ src/java/org/hibernate/shards/util/InterceptorList.java (working copy)
@@ -144,7 +144,7 @@
public void postFlush(Iterator entities) throws CallbackException {
for(Interceptor interceptor : interceptors) {
- interceptor.preFlush(entities);
+ interceptor.postFlush(entities);
}
}
--
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