GrantOrientationTeacher grantOrientationTeacher = pgot.readActualGrantOrientationTeacherByContract(grantContract.getIdInternal(), new Integer(0));
GrantOrientationTeacher grantOrientationTeacher = pgot.readActualGrantOrientationTeacherByContract(grantContract.getIdInternal(), Integer.valueOf(0));
    private void deleteAssociatedOrientationTeacher(GrantContract grantContract) throws ExcepcaoPersistencia {        IPersistentGrantOrientationTeacher pgot = persistentSupport.getIPersistentGrantOrientationTeacher();        GrantOrientationTeacher grantOrientationTeacher = pgot.readActualGrantOrientationTeacherByContract(grantContract.getIdInternal(), new Integer(0));        if (grantOrientationTeacher != null)            pgot.deleteByOID(GrantOrientationTeacher.class, grantOrientationTeacher.getIdInternal());    }