code: @Override
      public long length(Blob entity) throws IOException {
          try {
              return entity.length();
          } catch (SQLException e) {
              throw new IOException(e);
          }
      }
docs: {@inheritDoc}