code: public final Object getValue(final String id, final String property) {
          final CriteriaBuilder builder = getSession().getCriteriaBuilder();
          final CriteriaQuery<Object> criteria = builder.createQuery(Object.class);
          final Root<PrintJobStatusExtImpl> root = criteria.from(PrintJobStatusExtImpl.class);
          criteria.select(root.get(property));
          criteria.where(builder.equal(root.get("referenceId"), id));
          return getSession().createQuery(criteria).uniqueResult();
      }
docs: get specific property value of job.
  
  @param id the id
  @param property the property name/path
  @return the property value