code: @Override
      public InputStream read()
          throws EFapsException
      {
          StoreResourceInputStream in = null;
          ConnectionResource res = null;
          try {
              res = Context.getThreadContext().getConnectionResource();
  
              final Statement stmt = res.createStatement();
              final StringBuffer cmd = new StringBuffer()
                  .append("select ").append(JDBCStoreResource.COLNAME_FILECONTENT).append(" ")
                  .append("from ").append(JDBCStoreResource.TABLENAME_STORE).append(" ")
                  .append("where ID =").append(getGeneralID());
              final ResultSet resultSet = stmt.executeQuery(cmd.toString());
              if (resultSet.next()) {
                  if (Context.getDbType().supportsBinaryInputStream())  {
                      in = new JDBCStoreResourceInputStream(this,
                                                            res,
                                                            resultSet.getBinaryStream(1));
                  } else  {
                      in = new JDBCStoreResourceInputStream(this,
                                                            res,
                                                            resultSet.getBlob(1));
                  }
              }
              resultSet.close();
              stmt.close();
          } catch (final IOException e) {
              JDBCStoreResource.LOG.error("read of content failed", e);
              throw new EFapsException(JDBCStoreResource.class, "read.SQLException", e);
          } catch (final SQLException e) {
              JDBCStoreResource.LOG.error("read of content failed", e);
              throw new EFapsException(JDBCStoreResource.class, "read.SQLException", e);
          }
          return in;
      }
docs: Returns for the file the input stream.
  
  @return input stream of the file with the content
  @throws EFapsException on error