[infinispan-issues] [JBoss JIRA] (ISPN-4538) JPACacheStore#process is not clearing the PersistenceContext regularly
Sanne Grinovero (JIRA)
issues at jboss.org
Thu Jul 17 13:00:29 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986005#comment-12986005 ]
Sanne Grinovero commented on ISPN-4538:
---------------------------------------
If they are primitives they will not be managed but embeddable types will be tracked. Also an ID might have relations and load much more, if the relation is eager.. not likely but it's dangerous to decide not to invoke the clear.
> JPACacheStore#process is not clearing the PersistenceContext regularly
> ----------------------------------------------------------------------
>
> Key: ISPN-4538
> URL: https://issues.jboss.org/browse/ISPN-4538
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Loaders and Stores
> Reporter: Sanne Grinovero
> Assignee: Radim Vansa
>
> This is going to cause OOM when the key is not a primitive but for example and embeddable component and the primary EntityManager decides to manage it.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the infinispan-issues
mailing list