Hotrovato l'errore

non devo usare
codice:
stmt.executeQuery(SQLQuery);
ma bensì
codice:
stmt.execute(SQLQuery);