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

Helen Xu commented on OPENJPA-2220:
-----------------------------------

if user has a lot of entities, the following message could be very long. 

4226 fetchStatisticPU INFO [Thread-5] openjpa.Runtime - Successfully collected 
fetch statistics from Entities [org.apache.openjpa.enhance.stats.AEntity,..., 
org.apache.openjpa.enhance.stats.EEntity]. The following fields are 
FetchType.EAGER and were never fetched [ total 10 ] : 

how about this :

4226 fetchStatisticPU INFO [Thread-5] openjpa.Runtime - Successfully collected 
fetch statistics. The following fields are FetchType.EAGER and were never 
fetched [ total 10 ] 
org.apache.openjpa.enhance.stats.AEntity [4]
checked
desc
extraInfo
name 
org.apache.openjpa.enhance.stats.BEntity [0]
org.apache.openjpa.enhance.stats.CEntity.[2]
name
desc
org.apache.openjpa.enhance.stats.DEntity [0]

                
> Persistent field fetching statistic tool
> ----------------------------------------
>
>                 Key: OPENJPA-2220
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2220
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 2.3.0, 2.2.1
>            Reporter: Helen Xu
>            Assignee: Rick Curtis
>         Attachments: OPENJPA-2220Patch.txt, READMEpatch, 
> statisticToolDocPatch.txt
>
>
> This task is to create a statistic tool which monitors the persistent fields 
> fetching and finds out the fields which are never accessed. Based on the 
> statistic data, user can set the field access type to LAZY to improve the 
> performance by eliminating the data loading and processing time.

--
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

        

Reply via email to