I'm writing some code to generically generate Select objects according to
an internal modelling standard.
Assuming the following code:
Table<?> aliasedTable = table.as("ab12");
List<?> keys = aliasedTable.getKeys();
*for *(Object o : keys) {
UniqueKey uk = (UniqueKey)o;
*for *(Object keyField : uk.getFields()) {
TableField<?, ?> field = (TableField) keyField;
//the above field reference is not properly aliased
//to use the above field I must do this:
Field<?> useThisField = aliasedTable.field(field.getName());
}
}
Is this intentional? Defect to be fixed? I would have assumed the field
would be aliased.
Craig
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.