title: Ambiguous method call not resolved by casting
body: <p>I am trying to do something like:</p>
  
  <pre><code>t.set(field("ColumnName"), select(max(field("ColumnName"))).from("TableName"));
  </code></pre>
  
  <p>But I am getting the following compile error:</p>
  
  <pre><code>    Ambiguous method call, Both
      set(Field,Object)                    in InsertSetStep and
      set(Field,Select&lt;? extends Record1&gt;) in InsertSetStep match
  </code></pre>
  
  <p>I have tried to resolve the ambiguity with casting, but I still receive the same error</p>
  
  <pre><code>Select&lt;? extends Record1&gt; sq = select(max(field("ColumnName"))).from("TableName");
  t.set( field("ColumnName"), (Select&lt;? extends Record1&gt;)sq );
  </code></pre>
  
  <p>I have a couple questions:</p>
  
  <ol>
  <li>Why does casting not resolve the ambiguity in this scenario? (I have tried casting to <code>(Object)</code> and that does resolve the ambiguity)</li>
  <li>Is there a way for me to resolve the ambiguity?</li>
  </ol>