No results returned by the Query error in PostgreSQL

Use

executeUpdate

instead of

executeQuery

if no data will be returned (i.e. a non-SELECT operation).

Leave a Comment