407408409410411412413414415416
} if(isSearchCriteria) { Query q = manager.createQuery(query.toString()); List<?> theEntity = q.getResultList(); DataTranslator aTranslator = new DataTranslator(); return aTranslator.translateToUserDTO(theEntity); } return null; }