}
for (int x = 0; x < subClauses.length; x++)
{
if (subClauses[x] instanceof Selector)
{
Selector sel = (Selector) subClauses[x];
ObjectStack oStack = new ObjectStack(adapter, sel.getSelectionObject().getClass(),
sel.getSelectionObject(), new DelayedInsertionBuffer(adapter.getPersist()));
typeIds.nameStack(oStack);
generateClause(oStack, sel, sp, sorted);
}
else
{