5455565758596061626364
Criterion crPliRegNo = Restrictions.eq("pliRegNo", pliRegNo); result = findUniqueByCriteria(crPliRegNo); if (result == null) { throw new WrongMechanicPliRegNoException( "Mechanic with pliRegNo: \"" + pliRegNo + "\" doesn't exist."); } return result;