[
https://issues.apache.org/jira/browse/OPENJPA-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Curtis closed OPENJPA-2249.
--------------------------------
Resolution: Invalid
Fix Version/s: (was: 2.3.0)
Assignee: Rick Curtis
After further research, my solution proved to shift the costs rather than
remove them. Closing this issue as invalid.
> Minor performance improvement when using LiteAutoDetach
> -------------------------------------------------------
>
> Key: OPENJPA-2249
> URL: https://issues.apache.org/jira/browse/OPENJPA-2249
> Project: OpenJPA
> Issue Type: Improvement
> Components: kernel, performance
> Affects Versions: 2.2.0, 2.3.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Priority: Minor
>
> I have found that when detaching the entire persistence context we create a
> new collection of all items that need to be detached but we could be smarter
> and just create an intelligent iterator. This new iterator will iterate over
> each collection/map that needs to be detached.
> In local perf testing this showed a marginal improvement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira