[
https://issues.apache.org/jira/browse/OPENJPA-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Curtis resolved OPENJPA-2014.
----------------------------------
Resolution: Fixed
> Allow proxies to stay in place when Detaching
> ---------------------------------------------
>
> Key: OPENJPA-2014
> URL: https://issues.apache.org/jira/browse/OPENJPA-2014
> Project: OpenJPA
> Issue Type: Improvement
> Components: performance
> Affects Versions: 2.1.0, 2.2.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.1.1, 2.2.0
>
> Attachments: OPENJPA-2014.patch
>
>
> I have a scenario where I am using LiteAutoDetach and there is a measurable
> amount of processing going into unproxying a few of my fields. I don't need
> to pay this penalty because once my persistence context ends all of my
> Entities are going to be gc'd.
> With this change I'm going to add a configuration property to
> openjpa.DetachState so that I can selectively turn off unproxying on detach.
> This property will only work when LiteAutoDetach is enabled.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira