ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Ellis <ellis....@gmail.com>
Subject Re: Using Map as a parameter object
Date Mon, 21 Dec 2009 02:48:33 GMT
On Mon, Dec 21, 2009 at 2:39 AM, Martin Ellis <ellis.m.a@gmail.com> wrote:
> My only reservation with the patches you've provided is that they
> break the semantics of map (e.g. size() no longer returns a sensible
> value, keySet() doesn't return all valid keys, ...).  However, since
> these values aren't available to the OGNL interpreter (that's the
> point of the ContextAccessor class), I don't see that being a problem.

I tell a lie... they *are* available to the interpreter as _parameter.size
and _parameter.keys.

Still, I struggle to imagine anyone actually using those values...


Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message