[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1999) DirtyCollectionSearchVisitor.processCollection fails on dom4j collection

Alan Krueger (JIRA) noreply at atlassian.com
Tue Jul 3 12:11:53 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27387 ] 

Alan Krueger commented on HHH-1999:
-----------------------------------

I'm seeing this as well.  This looks like a duplicate of HHH-1265.

> DirtyCollectionSearchVisitor.processCollection fails on dom4j collection
> ------------------------------------------------------------------------
>
>                 Key: HHH-1999
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1999
>             Project: Hibernate3
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>         Environment: SQL server 9.0.1399
>            Reporter: Nelis Bijl
>
> The test in above mentioned function:
> 			if ( type.isArrayType()) {
> is not correct in case of a document element being used as collection holder.
> I could temporary fix things by using 'type.isCollectionType()' but I am not sure whether that is appropriate.  Perhaps '!(type instanceof PersistenCollection)' could be an option.

-- 
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