mysql prepared statement error: MySQLSyntaxErrorException

error is in this line

    rs = stmt.executeQuery(selectSQL);

do this way

    rs = stmt.executeQuery();

Leave a Comment