code: private static String resolveDialect(Connection jdbcConn, WorkspaceEntry wsEntry) throws DBCleanException
     {
        String dialect = DBInitializerHelper.getDatabaseDialect(wsEntry);
  
        if (dialect.startsWith(DBConstants.DB_DIALECT_AUTO))
        {
           try
           {
              dialect = DialectDetecter.detect(jdbcConn.getMetaData());
           }
           catch (SQLException e)
           {
              throw new DBCleanException(e);
           }
        }
  
        return dialect;
     }
docs: Resolves dialect which it is used in workspace configuration. First of all,
  method will try to get parameter {@link JDBCWorkspaceDataContainer#DB_DIALECT} from
  a configuration. And only then method will try to detect dialect using {@link DialectDetecter} in case
  if dialect is set as {@link DialectConstants#DB_DIALECT_AUTO}.
  
  @param wsEntry
  workspace configuration
  @return dialect
  @throws DBCleanException