cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <...@cayenne.apache.org>
Subject [JIRA] Created: (CAY-920) ClassCastException when processing delete rules for Map relationships
Date Wed, 14 Nov 2007 19:53:44 GMT
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.


Mime
View raw message