ps.setString(2, this.nodeId);
ps.setInt(2, this.nodeId);
   protected void insertBinding(Binding binding) throws Exception   {      Connection conn = null;      PreparedStatement ps  = null;           TransactionWrapper wrap = new TransactionWrapper();            try      {         conn = ds.getConnection();                  ps = conn.prepareStatement(getSQLStatement("INSERT_BINDING"));                  String filterString = binding.getQueue().getFilter() == null ? null : binding.getQueue().getFilter().getFilterString();                           ps.setString(1, this.officeName);         ps.setString(2, this.nodeId);         ps.setString(3, binding.getQueue().getName());         ps.setString(4, binding.getCondition());                  if (filterString != null)         {            ps.setString(5, filterString);         }         else         {            ps.setNull(5, Types.VARCHAR);         }         ps.setLong(6, binding.getQueue().getChannelID());         ps.executeUpdate();      }      finally      {         if (ps != null)         {            ps.close();         }         if (conn != null)         {            conn.close();         }         wrap.end();      }        }