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

Rick Curtis commented on OPENJPA-1475:
--------------------------------------

Committed revision 901901 to trunk.

Thanks Dianne!

> Performance improvement - don't call syncVersion() when no version is 
> specified
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1475
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1475
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 2.0.0
>            Reporter: Dianne Richards
>            Assignee: Rick Curtis
>             Fix For: 2.0.0
>
>         Attachments: patch.txt
>
>
> Currently, StateManagerImpl loadFields() always calls syncVersion() when the 
> entity being processed does not contain a version field. This processing is 
> expensive. So, check for the existence of a version field before making this 
> call.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to