Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLinkConverters"

(Convert)
(Convert)
Line 36: Line 36:
  
 
* @Convert annotation supported on Basic, Id, Version, BasicMap and BasicCollection mappings
 
* @Convert annotation 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.
  
 
[[Image: BasicConversion.jpg]]
 
[[Image: BasicConversion.jpg]]
Line 43: Line 43:
 
[[Image: ObjectTypeConverter.jpg]]
 
[[Image: ObjectTypeConverter.jpg]]
  
 +
 +
* 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.
  
 
[[Image: EntityConversion.jpg]]
 
[[Image: EntityConversion.jpg]]

Revision as of 11:50, 8 July 2008

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 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.

BasicConversion.jpg


ObjectTypeConverter.jpg


  • 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.

EntityConversion.jpg

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.

Back to the top