[
https://issues.apache.org/jira/browse/OPENJPA-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242005#comment-13242005
]
Kevin Sutter commented on OPENJPA-2167:
---------------------------------------
As I was working this Issue I also found where we could check for an empty
TransactionEventManager to avoid a few layers in the callstack.
> Only reload proxy fields if they are dirty
> ------------------------------------------
>
> Key: OPENJPA-2167
> URL: https://issues.apache.org/jira/browse/OPENJPA-2167
> Project: OpenJPA
> Issue Type: Improvement
> Components: kernel, performance
> Affects Versions: 2.3.0, 2.2.1
> Reporter: Kevin Sutter
> Assignee: Kevin Sutter
>
> In StateManagerImpl.proxyFields(), we blindly replace the proxy fields as
> long as they loaded. We can be slightly more efficient if we also verify
> that the field has been dirtied before doing the replacement.
--
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