[ 
https://issues.apache.org/cayenne/browse/CAY-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrus Adamchik closed CAY-920.
-------------------------------

    Resolution: Fixed

> ClassCastException when processing delete rules for Map relationships
> ---------------------------------------------------------------------
>
>                 Key: CAY-920
>                 URL: https://issues.apache.org/cayenne/browse/CAY-920
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0
>
>
> This only affects 3.0M2. When processing delete rules of an object that has 
> to-many relationship that is a Map, the following exception occurs:
> java.lang.ClassCastException: org.apache.cayenne.util.PersistentObjectMap
>       at 
> org.apache.cayenne.access.DataContextDeleteAction.processDeleteRules(DataContextDeleteAction.java:148)
>       at 
> org.apache.cayenne.access.DataContextDeleteAction.deletePersistent(DataContextDeleteAction.java:108)
>       at 
> org.apache.cayenne.access.DataContextDeleteAction.performDelete(DataContextDeleteAction.java:93)
>       at 
> org.apache.cayenne.access.DataContext.deleteObject(DataContext.java:982)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to