Community
Participate
Working Groups
The following document should be read in as having 3 items, 2 of them being empty strings. This is consistent with the JAXB behaviour. Currently the empty string values are being brought in as null, which is causing errors with non-nillable properties. <root> <item/> <item>ABC</item> <item></item> </root>
Created attachment 210808 [details] SDO - Test Cases
Created attachment 210809 [details] SDO - Fix
Created attachment 210812 [details] SDO - Test Cases
Fix checked into trunk at rev: 10829 Fix checked into 2.3.3 at rev: 10830 Code Reviewed By: Matt MacIvor Fix Details: Set the following on the XMLCompositeDirectCollectionMapping: mapping.getNullPolicy().setNullRepresentedByEmptyNode(false);
This fix resulted in an undesired behaviour change.
Created attachment 210821 [details] SDO - Fix (Part 2)
Created attachment 210822 [details] SDO - Test Cases (Part 2)
Fix (Part 2) checked into trunk at rev: 10831 Fix (Part 2) checked into 2.3.3 at rev: 10832 Code reviewed by: Matt MacIvor Fix Details: - Reverted change from initial fix - Moved the check for null value from ListWrapper.addAll(Collection, boolean) to ListWrapper.addAll(Collection).
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink