Example:
public String getSelectClause(String tableAlias) { ... }
I'd like to tell the checker to treat result of this method as
"SELECT " + tableAlias + "." + *
Right now I've set the result to be
@ResultForSQLChecker SELECT 1
but it fails reasonably for queries like:
String sql = "SELECT f.* FROM (" + mapper.getSelectClause("m") + " FROM foo m)
f WHERE f.bar > 1"
and that's where dynamics of ResultForSQLChecker would be a solution.
Original issue reported on code.google.com by Jevge...@gmail.com on 25 May 2011 at 4:31
Original issue reported on code.google.com by
Jevge...@gmail.com
on 25 May 2011 at 4:31