[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5862) ClassCastException overriding with a new Set a existing collection.

Gail Badner (JIRA) noreply at atlassian.com
Tue Jan 25 15:00:05 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39762#action_39762 ] 

Gail Badner commented on HHH-5862:
----------------------------------

Test case?

> ClassCastException overriding with a new Set a existing collection.
> -------------------------------------------------------------------
>
>                 Key: HHH-5862
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5862
>             Project: Hibernate Core
>          Issue Type: Bug
>    Affects Versions: 3.6.0
>         Environment: testcase, java6, windows
>            Reporter: Francisco Philip
>
> Any idea?
> java.lang.ClassCastException: java.util.HashSet cannot be cast to org.hibernate.collection.PersistentCollection
> 	at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:57)
> 	at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:122)
> 	at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:83)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list