public void getEmployeeById(Number employeeId) {
EmployeesVOImpl empVO = getEmployeesView1();
ViewCriteria vc = empVO.getViewCriteria("findEmployeeVC");
vo.applyViewCriteria(vc);
vo.setNamedWhereClauseParam("pEmployeeId", employeeId);
vo.executeQuery();
}
No comments:
Post a Comment