JDBC无效的列索引异常

时间:2014-09-24 06:34:23

标签: jdbc sqlexception

用于SQL查询

SELECT M.TXREFNO,M.PROCESSDATE 
WHERE F.PROCESSID=? AND (M.COUNTRYCODE IN (?) OR M.COUNTRYCODE IS NULL)
AND (M.TXREFNO=?)

我已将字符串作为

传递
stmt.setString(3, entry.getValue().toString());
stmt.setString(2, entry.getValue().toString());
stmt.setString(1, entry.getValue().toString());

但显示Invalid column index Exception

0 个答案:

没有答案