Community
Participate
Working Groups
For Dynamic JAXB to properly map inheritance relationships, we need information added to java-type to specify a superclass, since no such information will be available in any underlying Java model. e.g. <java-types> <java-type name="com.foo.Project"> <java-attributes> <xml-element java-attribute="id" type="java.lang.Integer"/> <xml-element java-attribute="desc" type="java.lang.String"/> </java-attributes> </java-type> <java-type name="com.foo.LargeProject" super-class="com.foo.Project"> <java-attributes> <xml-element java-attribute="budget" type="java.lang.Double"/> </java-attributes> </java-type> </java-types>
Created attachment 180272 [details] Proposed fix.
Reviewed by: rick.barkhouse@oracle.com Tests: all unit tests pass as expected
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink