title: why we use setInt with select query instead of using getInt when value is already there in database
body: <p>why we use setInt with select query instead of using getInt when value is already there in database?</p>
  
  <pre><code>    try {
          conn = getConnection();
  
  
          ps = conn.prepareStatement("SELECT * FROM circle where id =?");
  
          ps.setInt(1, circleId);
  
          Circle circle = null;
          rs = ps.executeQuery();
          if (rs.next()) {
              //String s = rs.getString(circleId);
  
              circle = new Circle(circleId, rs.getString("name"));
  
          }
  </code></pre>