docs: @Override
    public final int getVersionDatabase() {
      try {
        String query = "select count(*) as TOTALROWS from " + DatabaseInfo.class
          .getSimpleName().toUpperCase() + ";";
        Integer rowCount = evalIntegerResult(query, "TOTALROWS");
        if (rowCount != 1) {
          throw new ExceptionWithCode(ExceptionWithCode.CONFIGURATION_MISTAKE,
            "database_info_config_error");
        }
        query = "select DATABASEVERSION from " + DatabaseInfo.class
          .getSimpleName().toUpperCase() + ";";
        Integer databaseVersion = evalIntegerResult(query, "DATABASEVERSION");
        if (databaseVersion == null) {
          throw new ExceptionWithCode(ExceptionWithCode.CONFIGURATION_MISTAKE,
            "database_info_config_error");
        }
        return databaseVersion;
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }