Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344506

Summary: Issue with class/type generation from a schema with multibyte characters
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Fix
none
Updated Fix and Tests none

Description Matt MacIvor CLA 2011-05-02 16:01:20 EDT
SDO runtime exception when strong-typed SDO dataobject with
multi-byte-char-set in its name:

in the log file, there is message like:

[EL Info]: 2011-04-08 17:43:20.605--SDOUtil: Generated Type
[DeptView&#963;ÆîSDO] java class name changed to [DeptView\u548cSDO] to
follow class naming conventions.

and this classname change causes the service fails with:

model.mbcs.common.DeptView\u548cSDOImpl cannot be cast to
model.mbcs.common.DeptView&#21644;SDO
Comment 1 Matt MacIvor CLA 2011-05-03 13:59:34 EDT
Created attachment 194618 [details]
Proposed Fix
Comment 2 Matt MacIvor CLA 2011-05-16 12:53:57 EDT
Created attachment 195759 [details]
Updated Fix and Tests
Comment 3 Matt MacIvor CLA 2011-05-16 14:38:27 EDT
Attached patch checked in to SVN
Reviewed by Blaise Doughan
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:34:27 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink