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

Jakub MalĂ˝ commented on JCR-2280:
---------------------------------

This improvement was committed to 1.6 branch as well and it is not part of the 
release notes.
                
> Lazy initialize ItemDefinition
> ------------------------------
>
>                 Key: JCR-2280
>                 URL: https://issues.apache.org/jira/browse/JCR-2280
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0-alpha11
>
>         Attachments: JCR-2280.patch
>
>
> The item definition is currently set immediately when an ItemData is 
> instantiated. Accessing nodes usually does not require reading the item 
> definition, thus it is not necessary to load/set it that early.
> Lazy initialization also has the benefit that content migration in an upgrade 
> scenario becomes easier. Instead of throwing an exception early, jackrabbit 
> could allow access to the item until an item definition is really required 
> for the operation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to