SelectQuery query = new SelectQuery(Artist.class);
query.setStatementFetchSize(10);
assertEquals(10, query.getMetaData(dataContext.getEntityResolver()).getStatementFetchSize());
dataContext.performQuery(query);
SQLTemplate template = new SQLTemplate(Artist.class, "SELECT ARTIST_ID FROM ARTIST");
template.setStatementFetchSize(10);
assertEquals(10, template.getMetaData(dataContext.getEntityResolver()).getStatementFetchSize());