title: Dapper and Oracle parametrized query - ORA-01036: illegal variable name/number
body: <p>I'm currently trying my hand on Dapper. The following code works flawlessly:</p>
  
  <pre><code>using (var conn = 
      new OracleConnection(
          "Uid=dbusr;Pwd=dbusrpwd;Server=oraserver;"))
  {
      var col = 
          conn.Query&lt;User&gt;(
          "SELECT * FROM Users WHERE UserName = 'uid01'"
          , null)
          .ToList();
  }
  </code></pre>
  
  <p>But if instead of using a hardcoded parameter I try to pass it through a parametrized query plus an anonymous class, like this:</p>
  
  <pre><code>using (var conn = 
      new OracleConnection(
          "Uid=dbusr;Pwd=dbusrpwd;Server=oraserver;"))
  {
      var col = 
          conn.Query&lt;User&gt;(
          "SELECT * FROM Users WHERE UserName = @Id"
          , new { Id = "uid01" })
          .ToList();
  }
  </code></pre>
  
  <p>I receive the following error:</p>
  
  <blockquote>
    <p>ORA-01036: illegal variable name/number</p>
  </blockquote>
  
  <p>I searched around SO, but found no similar error reports; it seems I'm missing something terribly obvious but alas - I ran out of coffee. I would appreciate any hints.</p>