@Test
public void testSelectTwoTables() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.SELECT, "<JOINS/>");
   Readset<?> readset = UserEntity.READSET_FULL_WITH_HOME_ADDRESS_FULL;
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, readset);
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("u.user_id=hua.user_id and hua.type='H'", ctx.getSqlStatement());
}