[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1100) Invalidate cache on StaleObjectStateException

j nadler (JIRA) noreply at atlassian.com
Sun Oct 17 23:43:48 EDT 2010


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

j nadler commented on HHH-1100:
-------------------------------

We're going to patch our Hibernate Core in a way similar to what Nico has done.  The alternatives are too intrusive in our application code.   

Of course this will make it harder for us to upgrade Hibernate in the future.   It's disturbing that this issue has sat out there for 5 years.  From a naive point of view (not all that familiar with Hibernate internals) it seems low risk to do what Nico has done and evict from L2 in this case.


> Invalidate cache on StaleObjectStateException 
> ----------------------------------------------
>
>                 Key: HHH-1100
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1100
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>            Reporter: Gavin King
>            Assignee: Gavin King
>            Priority: Critical
>
> We should probably invalidate the second-level cache when a StaleObjectStateException occurs. Need to think this through.

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