[
https://issues.apache.org/jira/browse/OCM-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Harrison updated OCM-66:
------------------------------
Status: Patch Available (was: Open)
This is a collection converter. An example in my code looks like this:
@Collection(jcrElementName="option",jcrMandatory=false,collectionConverter=StringCollectionConverterImpl.class)
private Map<String,String> options;
> Allow lists of primitives stored in properties rather than nodes.
> -----------------------------------------------------------------
>
> Key: OCM-66
> URL: https://issues.apache.org/jira/browse/OCM-66
> Project: Jackrabbit OCM
> Issue Type: Improvement
> Affects Versions: 2.0.1
> Reporter: Peter Harrison
> Priority: Minor
> Fix For: 2.0.1
>
>
> Currently there is no support for lists of primitives. The existing support
> for objects involves creating a node for the list, and then child nodes for
> each element of the list.
> When we have lists of primitives it would be good to have the option of
> storing the values as properties of the list node rather than child nodes.
--
This message was sent by Atlassian JIRA
(v6.1#6144)