Package net.sourceforge.squirrel_sql.plugins.mssql.prefs

Examples of net.sourceforge.squirrel_sql.plugins.mssql.prefs.MSSQLPreferenceBean


  }
 
  @Override
   protected IQueryTokenizerPreferenceBean getPreferenceBean()
   {
     return new MSSQLPreferenceBean();
   }
View Full Code Here


       
    app.addToMenu(IApplication.IMenuIDs.SESSION_MENU, _mssqlMenu);
        super.registerSessionMenu(_mssqlMenu);
       
        _prefsManager = new PluginQueryTokenizerPreferencesManager();
        _prefsManager.initialize(this, new MSSQLPreferenceBean());       
    }
View Full Code Here

    if (schema!=null) {
    QueryTokenizer tokenizer=new QueryTokenizer(";","--",true);
    QueryTokenizer extraTokenizer=null;
    if (DbConnectionFactory.isMsSql()) {
      //";","--",true
      IQueryTokenizerPreferenceBean prefs = new MSSQLPreferenceBean();
      //prefs.setStatementSeparator("GO");
      extraTokenizer=new MSSQLQueryTokenizer(prefs);
    }else if(DbConnectionFactory.isOracle()){
      IQueryTokenizerPreferenceBean prefs = new OraclePreferenceBean();
      tokenizer=new OracleQueryTokenizer(prefs);
    }else if(DbConnectionFactory.isMySql()){
      IQueryTokenizerPreferenceBean prefs = new BaseQueryTokenizerPreferenceBean();
      prefs.setProcedureSeparator("#");
      tokenizer=new MysqlQueryTokenizer(prefs);

    }
    tokenizer.setScriptToTokenize(schema.toString());
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.plugins.mssql.prefs.MSSQLPreferenceBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.