{{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:

gradlew : The term 'gradlew' is not recognized as the name of a cmdlet, function, script file , or operable program

The command gradlew was not found, but does exist in the current location.  Windows PowerShell does not load commands from the current locat...