You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/04/14 19:44:07 UTC
svn commit: r161327 -
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
Author: gbayon
Date: Thu Apr 14 10:44:06 2005
New Revision: 161327
URL: http://svn.apache.org/viewcvs?view=rev&rev=161327
Log:
- Fixed bug in using composite parameters key on resultMap
Modified:
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?view=diff&r1=161326&r2=161327
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Thu Apr 14 10:44:06 2005
@@ -1103,7 +1103,7 @@
bool wasNull = false;
#region Find Key(s)
- if (paramString.IndexOf(',')>0) // composite parameters key
+ if (paramString.IndexOf(',')>0 || paramString.IndexOf('=')>0) // composite parameters key
{
IDictionary keyMap = new Hashtable();
keys = keyMap;