This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 211304 - Add class-instance converter support to the EclipseLink-ORM.XML Schema
Summary: Add class-instance converter support to the EclipseLink-ORM.XML Schema
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: Tom Ware CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard: Fixed in 1.0M6
Keywords:
Depends on:
Blocks: 200040
  Show dependency tree
 
Reported: 2007-11-28 14:27 EST by Guy Pelletier CLA
Modified: 2022-06-09 10:16 EDT (History)
2 users (show)

See Also:


Attachments
proposed fix (13.08 KB, patch)
2008-03-12 15:41 EDT, Tom Ware CLA
no flags Details | Diff
proposed fix (101.61 KB, patch)
2008-03-12 15:55 EDT, Tom Ware CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Pelletier CLA 2007-11-28 14:27:53 EST
 
Comment 1 Tom Ware CLA 2008-03-10 16:23:29 EDT
We will deal with this in the same way as converter types "none" and "serialized".

A well known reserved string will be used in the @Convert annotation to enable one of these converters.

e.g.

Annotation:

@Convert("class-instance")

ORM:

<basic name="class-name">
    <column name="CLASS_NAME"/>
    <convert>class-instance</convert>
</basic>
Comment 2 Tom Ware CLA 2008-03-12 15:41:53 EDT
Created attachment 92361 [details]
proposed fix
Comment 3 Tom Ware CLA 2008-03-12 15:55:34 EDT
Created attachment 92362 [details]
proposed fix
Comment 4 Tom Ware CLA 2008-03-12 16:06:34 EDT
Fixed as proposed above.

Reviewed by Guy Pelletier

Added testClassInstanceConverter to both EntityMappingsAdvancedJUnitTestCase and EntityMappingsJUnitTestCase
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:08:06 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:16:15 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink