I wrote select statement using prepared statement. Each time try to run it gives this error. How am I over come this error? my jdbc connector is mysql-connector-java-5.1.13-
error is in this line
rs = stmt.executeQuery(selectSQL);
do this way
rs = stmt.executeQuery();
executeQuery(your QUERY)
is supported while you all dealing with Statment object
Statment