code: public Response patch(@PathParam("id") final URI_ID id, @NotNull final MODEL model) throws Exception {
          MODEL_ID mId = tryConvertId(id);
          matchedPatch(mId, model);
          BeanDescriptor descriptor = getModelBeanDescriptor();
          descriptor.convertSetId(mId, (EntityBean) model);
          final Response.ResponseBuilder builder = Response.noContent()
                  .contentLocation(uriInfo.getAbsolutePath());
          return executeTx(t -> {
              prePatchModel(model);
              patchModel(model);
              postPatchModel(model);
              return builder.build();
          }, t -> {
              // id 无法对应数据。实体对象和补丁都正确，但无法处理请求，所以返回422
              return builder.status(422).build();
          });
      }
docs: Update a model items.
  <br>
  success status 204
  <br>
  fail status 422
  
  @param id    the unique id of the model
  @param model the model to update
  @return a {@link javax.ws.rs.core.Response} object.
  @throws java.lang.Exception if any.
  @see javax.ws.rs.PATCH
  @see AbstractModelResource#patch