final Table table = dc.getDefaultSchema().getTables()[0];
Map<Column, TypeConverter<?, ?>> converters = Converters.autoDetectConverters(dc, table, 1000);
assertEquals(1, converters.size());
dc = Converters.addTypeConverters(dc, converters);
final Query q = dc.query().from(table).select("foo").toQuery();
assertEquals("SELECT table.foo FROM schema.table", q.toSql());
DataSet ds = dc.executeQuery(q);
assertTrue(ds.next());
assertEquals(1, ds.getRow().getValue(0));
assertTrue(ds.next());