openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2167) Only reload proxy fields if they are dirty
Date Fri, 30 Mar 2012 13:58:25 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242341#comment-13242341
] 

Kevin Sutter commented on OPENJPA-2167:
---------------------------------------

I also found where OpenJPA was not allowing the use of the "none" value for openjpa.AutoDetach
-- although it's documented.  When using JPA, we're currently hard-coded the value of AutoDetach
to "Close" and "Rollback", and "None" is not allowed.  But, if you are doing some debugging
and looking to allow for the "none" setting, the code didn't have it defined.  So, I am adding
it back in to match the documentation.
                
> 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

        

Mime
View raw message