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

Best Client Optimized Programming Language for Mobile Development?

Use Google's Dart language, which is Object-oriented, class-based and garbage-collected language with C-Style.  Dart can compile to eith...