title: No suitable method found for setString
body: <p>I'm writing a method that calls a stored procedure in a MSSQL database.
  The stored procedure has 4 inputs, all numbers.
  I'm using <code>setString()</code> to enter the paramaters for the stored procedure.</p>
  
  <p>I'm getting the following compile error </p>
  
  <blockquote>
    <p>no suitable method found for <code>setString(int, int)</code></p>
  </blockquote>
  
  <p>It seems to want <code>setString(int, string)</code> but the parameters i need to pass are ints,not strings.</p>
  
  <p>Is there a way to pass ints or do I have to convert the <code>int</code>s to <code>string</code>?</p>
  
  <pre><code>public void genRoadMap(int id, int semester, int debug, int units)
  {
     CallableStatement c = null;
     try
     {
          c = connection.prepareCall("{call dbo.GenerateRoadMap(?, ?, ?, ?)}");
          c.setString(1, id);           
          c.setString(2,semester);
          c.setString(3,debug);
          c.setString(4,units);
          c.execute();
     }
     catch (Exception ex)
     {
         ex.printStackTrace();
     }
  }
  </code></pre>