@Test
public void testQueryIntoObjectString() throws Exception {

    PersonDefinition p = Person.PERSON;
    SqlBuilder builder = selectDistinct(p.Name).from(p).orderBy(p.Name.asc()).intoObject();
    List plist = dao.query(builder);
    assertEquals(1, plist.size());
    assertEquals("test", (String)plist.get(0));
}