code: protected void setFileInfo(final String _filename,
                                 final long _fileLength)
          throws EFapsException
      {
          if (!_filename.equals(this.fileName) || _fileLength != this.fileLength) {
              ConnectionResource res = null;
              try {
                  res = Context.getThreadContext().getConnectionResource();
                  final AbstractDatabase<?> db = Context.getDbType();
                  final StringBuilder cmd = new StringBuilder().append(db.getSQLPart(SQLPart.UPDATE)).append(" ")
                          .append(db.getTableQuote()).append(AbstractStoreResource.TABLENAME_STORE)
                          .append(db.getTableQuote())
                          .append(" ").append(db.getSQLPart(SQLPart.SET)).append(" ")
                          .append(db.getColumnQuote())
                          .append(AbstractStoreResource.COLNAME_FILENAME)
                          .append(db.getColumnQuote()).append(db.getSQLPart(SQLPart.EQUAL)).append("? ")
                          .append(db.getSQLPart(SQLPart.COMMA))
                          .append(db.getColumnQuote())
                          .append(AbstractStoreResource.COLNAME_FILELENGTH)
                          .append(db.getColumnQuote()).append(db.getSQLPart(SQLPart.EQUAL)).append("? ")
                          .append(db.getSQLPart(SQLPart.WHERE)).append(" ")
                          .append(db.getColumnQuote()).append("ID").append(db.getColumnQuote())
                          .append(db.getSQLPart(SQLPart.EQUAL)).append(getGeneralID());
  
                  final PreparedStatement stmt = res.prepareStatement(cmd.toString());
                  try {
                      stmt.setString(1, _filename);
                      stmt.setLong(2, _fileLength);
                      stmt.execute();
                  } finally {
                      stmt.close();
                  }
              } catch (final EFapsException e) {
                  throw e;
              } catch (final SQLException e) {
                  throw new EFapsException(JDBCStoreResource.class, "write.SQLException", e);
              }
          }
      }
docs: Set the info for the file in this store reosurce.
  @param _filename     name of the file
  @param _fileLength   length of the file
  @throws EFapsException on error