public static DBHelper getDBHelper(DatabaseIdentifier databaseIdentifier, String dbType) { SQLDevToolsConfiguration f = getConfiguration(dbType, databaseIdentifier); return f.getDBHelper(); }
if (config != null) DBHelper h = config.getDBHelper(); String tableOwnerName = (String)map.get(PROP_TABLEOWNERNAME); if (tableOwnerName == null && type == ProcIdentifier.TYPE_TRIGGER)
public static ProcIdentifier decode(String encoded) throws ParseException { Map map = decodeMap(encoded); String profile = (String)map.remove(PROP_PROFILE); String dbname = (String) map.remove(PROP_DBNAME); String typestr = (String) map.remove(PROP_TYPE); if (profile == null || dbname == null || typestr == null) { throw new ParseException(Messages.ProcIdentifierImpl_invalid_identifier_string, -1); } try { int type = Integer.parseInt(typestr); SQLDevToolsConfiguration config = SQLToolsFacade.getConfigurationByProfileName(profile); if (config != null) { DBHelper h = config.getDBHelper(); return h.getProcIdentifier(new DatabaseIdentifier(profile, dbname), type, map); } return new ProcIdentifierImpl(type, new DatabaseIdentifier(profile, dbname), map); } catch(NumberFormatException ex) { throw new ParseException(Messages.ProcIdentifierImpl_invalid_identifier_string, -1); } }
DBHelper helper = SQLToolsFacade.getConfiguration(null, getDatabaseIdentifier()).getDBHelper(); for (int i = 0; i < pws.length; i++)
DBHelper h = null; if (config != null) { h = config.getDBHelper(); } else { h = new DBHelper();