My issue turned out to be an attempt to re-use the same resultmap
which iBatis does not allow (I just learned this from Gilles. The
error messages and stack trace do not currently help identify this
issue). You can see below where I used the Role.RoleResultMap for both
the DefaultRole property in
I agree that their is an issue in GroupByStrategy.cs
Line 78 checks to see if uniqueKey is null
78else if (uniqueKey == null || buildObjects == null ||
!buildObjects.Contains(uniqueKey))
then line 96 uses it as a key
96buildObjects[uniqueKey] = outObject;
with no cod
If you give me a unit test I can give a look.
Side question:
I also noticed the comment "// temp ?, we don't support constructor
tag with groupBy attribute". I assume that will change before 1.6 is
released?
This will not be changed for 1.6, perhaps in future version
GroupByStrategy.cs, line 96
buildObjects[uniqueKey] = outObject;
I've been trying to get a complicated groupBy map working and the code
path ends up in the else condition of the Process method. In my case,
uniqueKey is null and buildObjects ends up as an empty Hashtable. None
of the lines of code
4 matches
Mail list logo