Jay Abrahm wrote:I got this to work.... Hope this helps someone else... DepartmentMonthPK departmentMonthPK = new DepartmentMonthPK (1234, 1); temp = (DepartmentMonth) sessionFactorygetCurrentSession().get(DepartmentMonth.class,departmentMonthPK);