BatooOrg/BatooJPA — pull request #179 by ylemoigne (2013-03-19 19:42:33+00:00)
Title: Demonstrate bug : UnsupportedOperationException

Demonstrate bug : UnsupportedOperationException

'''
Caused by: java.lang.UnsupportedOperationException
at java.util.AbstractCollection.add(Unknown Source) [rt.jar:1.7.0_15]
at org.batoo.common.util.BatooUtils.addAll(BatooUtils.java:77) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.model.mapping.ElementCollectionMappingImpl.setCollection(ElementCollectionMappingImpl.java:564) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.model.mapping.ElementCollectionMappingImpl.load(ElementCollectionMappingImpl.java:517) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.instance.ManagedInstance.processJoinedMappings(ManagedInstance.java:897) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.manager.SessionImpl.releaseLoadTracker(SessionImpl.java:640) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.criteria.QueryImpl.getResultListImpl(QueryImpl.java:765) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.criteria.QueryImpl.getResultList(QueryImpl.java:741) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]
at org.batoo.jpa.core.impl.criteria.QueryImpl.getSingleResult(QueryImpl.java:777) [batoo-jpa-2.0.1.0-SNAPSHOT.jar:]'''