小工具知识网

当前位置: 首页 > 行业知识 > java.sql.SQLException:异常

行业知识

java.sql.SQLException:异常

2026-12-04 14:11:00 来源:互联网转载

 在SQL查询时产生异常java.sql.SQLException: Statement.executeQuery() cannot issue statements that do not produce result sets.

 结果错误很明显:在使用baseQuery()方法是,忘记传入第二个参数,即要执行的SQL语句。

上一篇:网易服务器怎么搭建?

下一篇:【JAVA |String类】JAVA中的String类常见用法详解