Package org.jitterbit.integration.database

Examples of org.jitterbit.integration.database.SchemaAndTableNameSeparator


        return structure;
    }

    private void addSegmentForTable(Node tableNode, String parentName, ComplexTextStructure structure, Set<String> identifiers) {
        DatabaseObject table = tableNode.getTable();
        SchemaAndTableNameSeparator nameSeparator = new SchemaAndTableNameSeparator(table.getName(), quotes);
        String tableName = nameSeparator.getTable();
        String id = getSegmentId(tableName, identifiers);
        Segment segment = createSegment(table, id);
        String segmentName = TextStructureNameUtils.replaceIllegalCharacters(tableName);
        segment.setName(segmentName);
        segment.setParentName(parentName);
View Full Code Here


        return "";
    }

    private String getNameToCheck(DatabaseObject table) {
        String name = table.getName();
        SchemaAndTableNameSeparator separator = new SchemaAndTableNameSeparator(name, quotes);
        String schema = separator.getSchema();
        String tableName = separator.getTable();
        String schemaSeparated;
        if (StringUtils.isEmpty(schema)) {
            schemaSeparated = tableName;
        } else {
            schemaSeparated = schema + "." + tableName;
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.database.SchemaAndTableNameSeparator

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.