code: public static Object returnField(Object object, String fieldName) throws MjdbcException {
          AssertUtils.assertNotNull(object);
  
          Object result = null;
  
          Field field = null;
          try {
              field = object.getClass().getField(fieldName);
              result = field.get(object);
          } catch (NoSuchFieldException ex) {
              throw new MjdbcException(ex);
          } catch (IllegalAccessException ex) {
              throw new MjdbcException(ex);
          }
  
          return result;
      }
docs: Returns class field value
  Is used to return Constants
  
  @param object    Class  field of which would be returned
  @param fieldName field name
  @return field value
  @throws org.midao.jdbc.core.exception.MjdbcException if field is not present or access is prohibited