[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5313?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira