assertEquals(asList(1, 2),
pTables1(ora(), pTables1(ora(), new UNumberTableRecord(ora(), 1, 2))).getList());
// THEN, check unnesting of VARRAY/TABLE of OBJECT
// -----------------------------------------------
UBookTypeRecord r1 = new UBookTypeRecord();
UBookTypeRecord r2 = new UBookTypeRecord();
r1.setId(1);
r1.setTitle(BOOK_TITLES.get(0));
r2.setId(2);
r2.setTitle(BOOK_TITLES.get(1));
// Unnesting arrays
assertEquals(emptyList(),
create().select().from(table(new UBookArrayRecord(ora(), (UBookTypeRecord[]) null))).fetch(0));
assertEquals(emptyList(),