[
https://issues.apache.org/jira/browse/JCR-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Przemo Pakulski updated JCR-1242:
---------------------------------
Attachment: JCR-1242.patch
There is already ItemStateBinding class which should be used by bundleDB PMs,
instead of Serializer class.
Patch attached which contains :
- update of readPropertyId, writePropertyId methods, it use now IndexedQName
instead of QName for se/serialization of node references
- update of readState method in ItemStateBinding class to ensure backward
compatibility,
- fix of readState method in ItemStateBinding class to ensure that correct
version is used for deserialization,
- updates of affected PMs
*(BundleDBPersistenceManager,BundleFSPersistenceManager,
Oracle9PersistenceManager).
> Improve serialization of NodeReferences for BundleDB PMs
> --------------------------------------------------------
>
> Key: JCR-1242
> URL: https://issues.apache.org/jira/browse/JCR-1242
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core
> Affects Versions: 1.3.3, 1.4
> Reporter: Przemo Pakulski
> Fix For: 1.4
>
> Attachments: JCR-1242.patch
>
>
> BudleDB PMs use currently Serializer class to serialize, deserialize node
> references. Those methods are unefficient, it use string representation of
> UUID, namespaceURI and localName.
> For UUID rawBytes should be used and for namespaceURI, localName
> namespaceIndex/nameIndex should be used to improve efficiency of
> serialization/deserialization.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.