title: Mybatis statement with Map parameterType, how to refer to Map directly?
body: <p>I am passing a Map of parameters into a Mybatis select template:</p>
  
  <pre><code> &lt;select id="summary" parameterType="java.util.Map" resultMap='baseMap'&gt;
  ...
  </code></pre>
  
  <p>The Map values have different types (String, Integer, Boolean) and I can refer to them in my query by key (String), e.g.:</p>
  
  <pre><code>where user_id = ${user_id}
  </code></pre>
  
  <p>So, in order to achieve this it would seem that the Mybatis framework/OGNL calls the Map's <code>get()</code> method, eg: <code>get("user_id")</code></p>
  
  <p>Is it possible to refer to the Map itself in order to call a different method on the Map itself as part of an OGNL clause? I can't figure out how to refer to the parameter map itself at all.</p>
  
  <p>NOTE: I know that <code>parameterMap</code> is deprecated, but I am not averse to using it if it's the only way</p>