Examples of BeginEndQuote


Examples of org.jitterbit.integration.database.BeginEndQuote

            setText(text);
            return this;
        }

        private String getQualifiedName(DatabaseObject o) {
            BeginEndQuote quotes = selectionModel.getBeginEndQuotes();
            return quotes.escapeName(o.getSchema()) + "." + quotes.escapeName(o.getName());
        }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

                job.submit(waitService, 0);
                model.setCurrentServerInteraction(job);
                final DatabaseObjectContainer[] data;
                if (job.isSuccess()) {
                    data = job.getDownloadedObjects();
                    BeginEndQuote quotes = job.getBeginEndQuote();
                    model.getDbLocation().setDatabaseBeginEndQuote(quotes);
                } else {
                    data = new DatabaseObjectContainer[0];
                }
                model.setAvailableObjects(data);
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

        String where = whereClauseArea.getText().trim();
        lastWhereClauses.put(dbStructure, where);
        if (where.length() == 0) {
            return "";
        }
        BeginEndQuote quotes = dbStructure.getBeginEndQuote();
        return quotes.escapeName(rootName) + "." + where;
    }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

        if (StringUtils.isEmpty(name)) {
            return null;
        }
        String beginQuote = loc.getProperty(DatabaseLocation.DRIVER_BEGIN_QUOTE);
        String endQuote = loc.getProperty(DatabaseLocation.DRIVER_END_QUOTE);
        BeginEndQuote quotes = (beginQuote != null && endQuote != null)
                ? new BeginEndQuote(beginQuote, endQuote) : null;
        String driverClass = loc.getProperty(DatabaseLocation.DRIVER_CLASS_PROPERTY);
        DriverDescriptor driver =  null;
        if (StringUtils.isEmpty(driverClass)) {
            driver = OdbcDriverDescriptorFactory.createDescriptor(name, quotes);
        }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

        quotes = deriveBeginEndQuotesForEditedStructure(location);
        isSchemaNameIncluded = toEdit.getStructure().getIncludeSchemaName();
    }

    private BeginEndQuote deriveBeginEndQuotesForEditedStructure(DatabaseLocation location) {
        BeginEndQuote quotes = location.getBeginEndQuote();
        if (BeginEndQuote.BLANK.equals(quotes)) {
            quotes = guessBeginEndQuotes();
        }
        return quotes;
    }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

            objects.setTableUsage(table, count);
        }
    }

    private void deriveTableUsageFromTableList(DatabaseStructure struct, SelectedTables selectedObjects) {
        BeginEndQuote quotes = struct.getBeginEndQuote();
        TableUsage usage = struct.getDbTables().getTableUsage(quotes);
        for (DatabaseObject o : selectedObjects.getIncludedTables()) {
            int count = usage.getUsageCount(o.getName());
            if (count > 0) {
                selectedObjects.setTableUsage(o, count);
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

            }
            return this;
        }

        private String getQualifiedName(DatabaseObject o) {
            BeginEndQuote quotes = selectionModel.getBeginEndQuotes();
            return quotes.escapeName(o.getSchema()) + "." + quotes.escapeName(o.getName());
        }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

                return new TargetInsertUpdateModePage(getWizard(), tables);
            }
        }

        private WizardPage createNextPageForMultipleTables(SelectedTables selectedObjects) {
            BeginEndQuote quotes = model.getBeginEndQuotes();
            DatabaseObject[] tables = selectedObjects.getTablesIncludingAliases(quotes);
            return new TableRelationshipDefinitionPage(getWizard(), tables, sourceOrTarget);
        }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

    public PrimaryKeysCreator(TransformationDatabaseInfo dbInfo) {
        DatabaseObject[] dbObjects = dbInfo.getDatabaseObjects();
        objects = createObjectMap(dbObjects);
        keyMap = new KeyMap(dbObjects);
        BeginEndQuote quotes = getBeginEndQuote(dbInfo);
        for (String key : getKeysAsStrings(dbInfo)) {
            DatabaseColumn col = getColumn(key, quotes);
            keyMap.addKey(col);
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.database.BeginEndQuote

    }

    @Override
    public void getDrivers(JdbcDriverListCallback callback) {
        JdbcDriverDescriptor postgres = new JdbcDriverDescriptor("Postgresql", "jdbc:postgresql://%s/%s",
                        "org.postgresql.Driver", new BeginEndQuote("\"", "\""));
        callback.driversRetrieved(new JdbcDriverDescriptor[] { postgres }, null);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.