stmt.setObject(i, values[bindNum-1]);
Object value = values[bindNum-1];  if (_log.isDebugEnabled()) if (value == null) _log.debug(Messages.format("jdo.bindSqlNull", Integer.toString(i))); else _log.debug(Messages.format("jdo.bindSql", Integer.toString(i), value, value.getClass().getName()));  stmt.setObject(i, value);
    public static void bindJdbcValues(PreparedStatement stmt, String pre_sql, Object[] values) throws SQLException    {        SqlBindParser parser = new SqlBindParser(pre_sql);        for(int i=1; parser.next(); ++i) {            int bindNum = parser.getParamNumber();            if (bindNum == 0)                bindNum = i;	// handle CALL SQL statements with unnumbered bind variables            stmt.setObject(i, values[bindNum-1]);        }    }