Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLinkConverters"
(→Convert) |
(→Convert) |
||
Line 35: | Line 35: | ||
=== Convert === | === Convert === | ||
− | * @Convert annotation supported on Basic, Id, Version, BasicMap and BasicCollection mappings | + | * [[Using_EclipseLink_JPA_Extensions_(ELUG)#How_to_Use_the_.40Convert_Annotation|@Convert]] annotation is supported on Basic, Id, Version, BasicMap and BasicCollection mappings |
− | * Converter, TypeConverter, ObjectTypeConverter, StructConverter will be supported on Id, Version, Basic, BasicMap, BasicCollection mappings in java. In the eclipselink-orm.xml only the convert name widget will be supported on these mappings. | + | * [[Using_EclipseLink_JPA_Extensions_(ELUG)#How_to_Use_the_.40Converter_Annotation|@Converter]], [[Using_EclipseLink_JPA_Extensions_(ELUG)#How_to_Use_the_.40TypeConverter_Annotation|@TypeConverter]], [[Using_EclipseLink_JPA_Extensions_(ELUG)#How_to_Use_the_.40ObjectTypeConverter_Annotation|@ObjectTypeConverter]], [[Using_EclipseLink_JPA_Extensions_(ELUG)#How_to_Use_the_.40ObjectTypeConverter_Annotation|@StructConverter]]will be supported on Id, Version, Basic, BasicMap, BasicCollection mappings in java. In the eclipselink-orm.xml only the convert name widget will be supported on these mappings. |
* Should change non-eclipselink mappings to handle converters with checkboxes: No Converter, Lob, Temporal, Enumerated | * Should change non-eclipselink mappings to handle converters with checkboxes: No Converter, Lob, Temporal, Enumerated | ||
Revision as of 11:59, 17 July 2008
Contents
Functional Specification: Dali Support for EclipseLink Converters
bug 239163 - converters support
Document History
Date | Author | Version Description & Notes |
---|---|---|
7-7-2008 | Karen Butzke | Draft |
Project overview
This feature is about adding the attribute mapping converter annotations supported by the EclipseLink JPA extension.
Goals:
- Add JPA Details view widgets for the Convert, Converter, ObjectTypeConverter, TypeConverter and StructConverter annotations
- Add JPA Details view widgets for eclipselink-orm.xml convert, converter, object-type-converter, type-converter and struct-converter elements
- Provide the validation for the converters
Concepts
Present any concepts relevant to the feature.
EclipseLink converters documentation
Requirements / Functionality
Convert
- @Convert annotation is supported on Basic, Id, Version, BasicMap and BasicCollection mappings
- @Converter, @TypeConverter, @ObjectTypeConverter, @StructConverterwill be supported on Id, Version, Basic, BasicMap, BasicCollection mappings in java. In the eclipselink-orm.xml only the convert name widget will be supported on these mappings.
- Should change non-eclipselink mappings to handle converters with checkboxes: No Converter, Lob, Temporal, Enumerated
- Change to radio buttons. Twistie widget on Converters section. Change Temporal and Enumerated back to combo boxes, enumerated needs a Default(Ordinal) choice that only displays once the Enumerated check box is checked.
- Generic platform support should change to radio buttons for Lob, Temporal, Enumerated
- Converter, TypeConverter, ObjectTypeConverter, StructConverter supported on Entity, MappedSuperclass, Embeddable in java and in eclipselink-orm.xml. Also supported on entity-mappings element in eclipselink-orm.xml.
- On the eclipselink-orm.xml entity-mappings node supporting adding/removing conerters. If you select a particular converter in the list then you will see that panel for that converter type. This should also be how the support works for Entity, MappedSuperclass, and Embeddable in eclipselink-orm.xml
API
Issues
This section lists the open issues that are still pending that must be decided prior to fully implementing this project's requirements.
Issue # | Owner | Description / Notes | Decision |
---|---|---|---|
Future Considerations
During the research for this project the following items were identified as out of scope but are captured here as potential future enhancements. If agreed upon during the review process these should be logged in the bug system.