You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org> on 2006/01/10 20:09:21 UTC
[jira] Closed: (IBATISNET-138) QueryForMap with cache
Bug/Regression
[ http://issues.apache.org/jira/browse/IBATISNET-138?page=all ]
Gilles Bayon closed IBATISNET-138:
----------------------------------
Resolution: Fixed
In SVN
> QueryForMap with cache Bug/Regression
> -------------------------------------
>
> Key: IBATISNET-138
> URL: http://issues.apache.org/jira/browse/IBATISNET-138
> Project: iBatis for .NET
> Type: Bug
> Components: DataMapper
> Versions: DataMapper 1.3
> Reporter: Gilles Bayon
> Assignee: Gilles Bayon
> Fix For: DataMapper 1.3.1
>
> nicolas.theron@bnpparibas.com to user-cs
> More options 10:58 am (8 hours ago)
> Hi
> I ve got a problem with calling the version of the method QueryForMap without the valueProperty Parameter (public IDictionary QueryForMap(string
> statementName, object parameterObject, string keyProperty))
> this one is an overload of this following method: public IDictionary QueryForMap(string statementName, object parameterObject, string keyProperty,
> string valueProperty)which use null as valueProperty.
> So, A NullReferenceException is raised. I could see in the source code the problem come from the building of the CacheKey object : Indeed, Update
> method of the CacheKey object is called with null object
> So Is it really a bug/regression (it worked properly in the previous version of ibatis) or is this method obsolete ? Maybe this problem occur with all
> the methods with a null valueProperty ???
> Regards
--
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