@Test
public void testQueryAll() throws Exception {

    SqlBuilder builder = selectAll().from(p).where(p.PeopleID.eq(1)).into(Person.class);
    Person p = dao.queryObject(builder);
    assertNotNull(p);
    assertEquals("test", p.getName());
}