Community
Participate
Working Groups
m_cascadeOnDelete variable from EntityAccessor should be changed to a Boolean from boolean. As a primitive, it always has a value and is therefore always written out to XML. It should only be written out when explicitly set. This was witnessed when working through a extensible/metadata repository example with Doug.
Created attachment 199058 [details] Proposed changes
The attached patch corrects all empty type mappings (keeps them all the same). Also, current metadata model format if used to write an XML file would always write out boolean elements even though you called its respective set method with false.
Changes have been submitted. Verified by: Tom Ware Tests: Test (testXMLEntityMappingsWriteOut) added to EntityMappingsAdvancedJUnitTestCase
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink