Community
Participate
Working Groups
Hit this with ObjectArrayMapping. AbstractCollectionmapping is not derived from CollectionMapping, therefore if (mapping.isCollectionMapping()) { (CollectionMapping)mapping... throws ClassCastException.
Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Community: Please vote for this bug if it is important to you. Votes are one of the main criteria we use to determine which bugs to fix next.
Note that currently the code relies in several places upon isCollectionMapping method for the mapping having ContainerPolicy. The correct fix would introduce a new hasContainer method and a careful code examinatio of all calls to isCollectionMapping should follow to find the cases where hasContainer should be called instead.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink