[
https://issues.apache.org/jira/browse/JDO-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362192#comment-17362192
]
Craig L Russell commented on JDO-709:
-------------------------------------
I've rewritten parts of Chapter 18. The slant of this chapter has been toward
annotations which belong in Chapter 19. The xml specification does not have
detailed descriptions of the key and value. These are described in the element,
array, collection, and map elements.
What follows are the proposed changes. ELEMENT converter is new; there is an
extra paragraph in ELEMENT element:
6 ELEMENT converter
When used with a field or property, the converter element identifies the class
used with the convertible field to convert values in the field or property to
and from values in the datastore. Similarly, when used with key, value, or
element, it identifies the converter used to convert Map keys and values, and
Collection and Array elements.
The converter class must be loadable at runtime by the same class loader as the
domain object.
7 ELEMENT element
... The converter attribute specifies the AttributeConverter to use for the
element.
> Standardize field/property converters
> -------------------------------------
>
> Key: JDO-709
> URL: https://issues.apache.org/jira/browse/JDO-709
> Project: JDO
> Issue Type: New Feature
> Components: api, specification, tck
> Reporter: Matthew T. Adams
> Assignee: Craig L Russell
> Priority: Minor
> Labels: converstion, converter, jdo, type, type-converter
> Fix For: JDO 3.2
>
> Attachments: JDO-709-01.patch, JDO-709-3.patch, JDO-709-4.patch
>
>
> This request is to standardize a user's ability to specify conversions of
> fields or properties of persistence-capable classes. Currently, this is left
> to vendor extensions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)