+ "#result('DATE_OF_BIRTH' 'java.util.Date'), "
+ "#result('t0.ARTIST_ID' 'int' '' 'ARTIST_ID') "
+ "FROM ARTIST t0, PAINTING t1 "
+ "WHERE t0.ARTIST_ID = t1.ARTIST_ID");
PrefetchTreeNode prefetch = q.addPrefetch(Artist.PAINTING_ARRAY_PROPERTY);
assertEquals(
"Default semantics for SQLTemplate is assumed to be joint.",
PrefetchTreeNode.JOINT_PREFETCH_SEMANTICS,
prefetch.getSemantics());
q.setFetchingDataRows(false);
final List<?> objects = context.performQuery(q);
queryInterceptor.runWithQueriesBlocked(new UnitTestClosure() {