}
query.compile();
//logger.fine("Filter Query: " + query);
BoundExpression bound = query.getBoundExpression();
int paramCount = 0;
if (args != null) {
while (paramCount < args.length) {
bound.bindParameter(paramCount, args[paramCount]);
++paramCount;
}
}
// Always bind the implicit "owner" parameter
bound.bindParameter(paramCount++, owner.getProxy());
//logger.fine(paramCount + " parameter(s) bound");
/*
logger.info("Main Selector Table Before: " +
selector.getTable().getName());
logger.info("Main Selector Before: " + selector);
*/
Selector filterSelector = bound.getSelector();
/*
logger.info("Filter Selector Table: " +
filterSelector.getTable().getName());
logger.info("Filter Selector: " + filterSelector);