[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5313) Enabled filters, cache mode, and flush mode are not propagated to a new session via NonFlushedChanges

senthil (JIRA) noreply at atlassian.com
Mon Nov 15 16:57:13 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39124#action_39124 ] 

senthil commented on HHH-5313:
------------------------------

We are facing issues with session.enableFilter, is that its not working correctly all the time. An explanation as follows,
1. First user loaded the object with session.enableFilter(e.g filter name is 'myFilter') in his session and that is closed with the same request
2. Another user altogether loaded a different object without enabling the filter(i.e 'myFilter' is not available in his session) in a different session and the session is closed with his request
3. Now the first user continues his work after filling some inputs in the form and submitting the request which is then loading the object by enabling filter('myFilter'), here its not at all considering the filter instead it simply loads all the objects.
Which is causing big problem for us, where we are not supposed to show obsolute entries to the user.

Can someone confirm is this the same bug?

Thanks
Senthil

> Enabled filters, cache mode, and flush mode are not propagated to a new session via NonFlushedChanges
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HHH-5313
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5313
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.2
>            Reporter: Gail Badner
>            Assignee: Gail Badner
>             Fix For: 3.6.1
>
>
> Enabled filters, cache mode, and flush mode are not propagated to a new session via NonFlushedChanges.

-- 
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