When I execute the following query, its work fine
jdbcTemplate.query("select * from foo Limit 50");
But when I want to try to execute the following query , it giving me syntax error even successfully running in mysql
jdbcTemplate.query("select SQL_CALC_FOUND_ROWS * from foo Limit 10; SELECT FOUND_ROWS()");
any update ?