[hibernate-issues] [Hibernate-JIRA] Resolved: (HSHARDS-56) InterceptorList.postFlush calls preFlush instead of postFlush

Max Ross (JIRA) noreply at atlassian.com
Wed Jan 21 17:47:38 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Ross resolved HSHARDS-56.
-----------------------------

    Resolution: Fixed

Thanks for the patch!

> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the hibernate-issues mailing list