code: private void writeRootBeanConstructor() throws IOException {
  
      writer.eol();
      writer.append("  /**").eol();
      writer.append("   * Construct with a given Database.").eol();
      writer.append("   */").eol();
      writer.append("  public Q%s(Database server) {", shortName).eol();
      writer.append("    super(%s.class, server);", shortName).eol();
      writer.append("  }").eol();
      writer.eol();
  
      String name = (dbName == null) ? "default" : dbName;
      writer.append("  /**").eol();
      writer.append("   * Construct using the %s Database.", name).eol();
      writer.append("   */").eol();
      writer.append("  public Q%s() {", shortName).eol();
      if (dbName == null) {
        writer.append("    super(%s.class);", shortName).eol();
      } else {
        writer.append("    super(%s.class, DB.byName(\"%s\"));", shortName, dbName).eol();
      }
      writer.append("  }").eol();
  
      writer.eol();
      writer.append("  /**").eol();
      writer.append("   * Construct for Alias.").eol();
      writer.append("   */").eol();
      writer.append("  private Q%s(boolean dummy) {", shortName).eol();
      writer.append("    super(dummy);").eol();
      writer.append("  }").eol();
    }
docs: Write the constructors for 'root' type query bean.