| Summary: | DBWSBuilder should set javaClassName for Object/Varray/ObjectTable types to NOT be in Java's default package | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Mike Norman <michael.norman> | ||||||||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
| Severity: | normal | ||||||||||||||
| Priority: | P3 | CC: | david.twelves, eclipselink.dbws-inbox | ||||||||||||
| Version: | unspecified | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Hardware: | All | ||||||||||||||
| OS: | All | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Mike Norman
Created attachment 209334 [details]
Proposed fix.
We now prepend the package (project name + '.') to the Java class name for Object, ObjectTable and VArray types.
Created attachment 209335 [details]
Supporting test cases.
The existing Object, ObjectTable and VArray test suites were modified to also check the Java class names of the processed types to verify that the package was prepended properly.
Created attachment 209397 [details]
Proposed fix v2.
Now uses an existing method on Util class that returns the correct java class name.
Created attachment 209398 [details]
Supporting test cases.
Created attachment 209402 [details]
Proposed fix v3.
Added default project name (myProject) to handle null/empty string project names.
Reviewed by: michael.norman@oracle.com Tests: All unit tests pass as expected; ObjectTypeTestSuite, ObjectTableTypeTestSuite and VArrayTestSuite modded Revision: 10679 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |