EmpTableCondition condition = new EmpTableCondition(); condition.selectEmpNo().more(7500); List<EmpTable> result = dao.find(condition); EmpTableRelationCondition conditon = new EmpTableRelationCondition(); conditon.selectEmpNo().addOrderAsc(); conditon.selectDeptNo().addOrderDesc(); EmpTableRelationCondition condition = new EmpTableRelationCondition(); condition.selectDeptTableRelation().selectLoc().equal("DALLAS"); dao.findWithRelation(condition);