Community
Participate
Working Groups
buildReferencesPKList creates an array of size collection.size()*2 when processing a MapKey relationship. That array size is needed for MapKeyColumns but not for MapKey where the Key is derived from the value.
Created attachment 181850 [details] Simple Patch and Test Case Simply update to change the size of the Object[] created by the mapping when preparing the PK list of the map. In the case of the MapKey the size should equal the size of the map.
Patch Checked in
Created attachment 181856 [details] patch changes missed from the first file Part of the change was missing from that first patch file.
Created attachment 181879 [details] Patch combines previous patches into one file and adds a small change
Patch also checked into EclipseLink 2.1.2 revision 8452
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink