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

Nelis Bijl (JIRA) noreply at atlassian.com
Mon Aug 14 09:57:19 EDT 2006


DirtyCollectionSearchVisitor.processCollection fails on dom4j collection
------------------------------------------------------------------------

         Key: HHH-1999
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1999
     Project: Hibernate3
        Type: Bug

    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