Nie mam już siły. W 9 linii dostaje "java.sql.SQLException: query does not return ResultSet".
http://pastebin.com/Az0m81mv
0
1
No to skoro query nie zwraca ResultSet
to dlaczego używasz tego tak jakby zwracało? Zgodnie z dokumentacją executeUpdate
działa tak: Executes the given SQL statement, which may be an INSERT, UPDATE, or DELETE statement or an SQL statement that returns nothing, such as an SQL DDL statement.