[ 
http://issues.apache.org/jira/browse/IBATIS-352?page=comments#action_12440152 ] 
            
Jeff Butler commented on IBATIS-352:
------------------------------------

If I understand correctly, you are trying to report three different issues:

1. Something changed regarding Lists in iBATIS 2.2.0 that forced you to use Sets

2. Lazy load of Sets doesn't work

3. Sets work except when there are enums

This is very confusing.  Please attach your SqlMap.xml for each different issue.


> Problems with Complex Properties + Sets & enums
> -----------------------------------------------
>
>                 Key: IBATIS-352
>                 URL: http://issues.apache.org/jira/browse/IBATIS-352
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: SQL Maps
>    Affects Versions: 2.2.0
>         Environment: JDK 1.5, IBATIS SQL Maps 2.2.0.638, Spring 2.0
>            Reporter: Andrew Bethell
>         Attachments: join-resultmap with enum.txt, lazy-load with set.txt
>
>
> There doesnt seem to be support for lazy-loading complex properties of type 
> 'java.util.Set', only List collections -  (stack trace attached to this 
> issue).
> I have to use Set collections at the moment, as when I upgraded from IBATIS 
> SQLMaps 2.17 to 2.22, the 'groupBy' attribute for resultmaps did not seem to 
> make data in (List) complex properties distinct by ID, where as in version 
> 2.17 this was the case.
> Strangely though, when loading complex properties with joins+resultMaps, Set 
> properties work correctly - except when items in the Set contain enum types 
> (stack trace attached for this too).

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

        

Reply via email to