Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 282773 - Add plural converter annotations
Summary: Add plural converter annotations
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 241305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-08 01:57 EDT by Jürgen Wieners CLA
Modified: 2022-06-09 10:22 EDT (History)
5 users (show)

See Also:


Attachments
Proposed changes (15.83 KB, patch)
2010-08-19 14:10 EDT, Guy Pelletier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Wieners CLA 2009-07-08 01:57:48 EDT
With eclipselink 1.1.1 and annotations is it impossible to configure more than one @Converter in an entity.
An error "Duplicate annotation @Converter" is reported.
Please implement a @Converters annotation.
Comment 1 Laird Nelson CLA 2009-09-10 11:52:21 EDT
Please consider also changing both annotations to be able to be applied at the package level (e.g. package-info.java).
Comment 2 Guy Pelletier CLA 2010-08-19 09:36:46 EDT
Assigning to 2.2. This should definitely be done to match our eclipselink-orm.xml support which allows multiples on entity, embeddable and mapped superclass in XML.

The following annotations should be added:

@Converters
@TypeConverters
@ObjectTypeConverters
@StructConverters
Comment 3 Guy Pelletier CLA 2010-08-19 14:10:24 EDT
Created attachment 177036 [details]
Proposed changes
Comment 4 Guy Pelletier CLA 2010-08-19 14:28:35 EDT
Changes have been submitted

Reviewed by: Tom Ware

Modified some existing models to use the new annotations. Wrapped existing coverters into the plural ones.
Comment 5 Guy Pelletier CLA 2010-12-06 13:30:31 EST
*** Bug 241305 has been marked as a duplicate of this bug. ***
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:22:55 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink