Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357133 - [EclipseLink] MapKeyConvert support
Summary: [EclipseLink] MapKeyConvert support
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard: EclipseLink
Keywords:
: 354055 (view as bug list)
Depends on:
Blocks: 300089
  Show dependency tree
 
Reported: 2011-09-08 14:18 EDT by Nan Li CLA
Modified: 2013-09-04 15:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nan Li CLA 2011-09-08 14:18:20 EDT
Build Identifier: M-3.3.1-20110810234736

When a map keyed with a basic type is used with collection mappings (ElementCollect, OneToMany, and ManyToMany), we should be able to specify a named converter with @MapKeyConvert annotation or map-key-convert element for the corresponding mapped attribute key column, and should also be able to define a named converter on the mapped attribute and use it with @MapKeyConvert annotation or map-key-convert element. This leads to possible changes of our models as following:

1. Support multiple converter definitions on an attribute mapping
2. Decouple convert (@Convert/@MapKeyConvert) with converter definitions. Currently we cannot define a converter without enabling EclipseLink convert.

http://www.eclipse.org/eclipselink/api/2.0/org/eclipse/persistence/annotations/MapKeyConvert.html

Reproducible: Always
Comment 1 Neil Hauge CLA 2011-09-26 14:52:03 EDT
*** Bug 354055 has been marked as a duplicate of this bug. ***