Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344506 - Issue with class/type generation from a schema with multibyte characters
Summary: Issue with class/type generation from a schema with multibyte characters
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 16:01 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:34 EDT (History)
0 users

See Also:


Attachments
Proposed Fix (3.39 KB, patch)
2011-05-03 13:59 EDT, Matt MacIvor CLA
no flags Details | Diff
Updated Fix and Tests (12.15 KB, patch)
2011-05-16 12:53 EDT, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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和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和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