BF [ 1982327 ] Can see data from other AD_Client

This commit is contained in:
teo_sarca 2008-06-02 18:10:45 +00:00
parent ba1ac65ecf
commit eaf0953a45
1 changed files with 4 additions and 0 deletions

View File

@ -194,6 +194,10 @@ public class GridTabVO implements Evaluatee, Serializable
//jz col=null not good for Derby
if (vo.WhereClause.indexOf("=null")>0)
vo.WhereClause.replaceAll("=null", " IS NULL ");
// Where Clauses should be surrounded by parenthesis - teo_sarca, BF [ 1982327 ]
if (vo.WhereClause.trim().length() > 0) {
vo.WhereClause = "("+vo.WhereClause+")";
}
vo.OrderByClause = rs.getString("OrderByClause");
if (vo.OrderByClause == null)