{{theTime}}

Search This Blog

Total Pageviews

SqlException: The executeQuery method must return a result set.

executeQuery returns a result set.  Use executeUpdate instead or review the sql.

  • boolean execute() Executes the SQL statement in this PreparedStatement object, for any kind of SQL statement.

  • ResultSet executeQuery() Executes the SQL query in this PreparedStatement returns the ResultSet for the Query(Select ...)

  • int executeUpdate() Executes the SQL statement in this PreparedStatement returns total successful count, which must be an SQL INSERT, UPDATE or DELETE statement; or an SQL statement that returns nothing, such as a DDL statement.

No comments:

You are currently using plaintext http to connect.

Npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation must use TLS 1.2 or higher. S...