Package org.jitterbit.integration.client.database.serverapi

Examples of org.jitterbit.integration.client.database.serverapi.DatabaseInfoProvider


    }

    @Override
    protected void runImpl() throws InterruptedException {
        setMessage(PackageResources.WhereClauseValidator.STARTED);
        DatabaseInfoProvider provider = DatabaseInfoProviderFactory.createProvider(connectionParams);
        provider.validateWhereClause(dbObject, where, callback);
        latch.await();
    }
View Full Code Here


    @Override
    protected void runImpl() throws InterruptedException {
        setMessage("Asking the server for column information");
        ConnectionParams connectionParams = dbLocation.getConnectionParams();
        DatabaseInfoProvider provider = DatabaseInfoProviderFactory.createProvider(connectionParams);
        provider.getTableInfo(connectionParams, sourceId, targetId, emptyObjects, callback);
    }
View Full Code Here

    }

    @Override
    protected void runImpl() throws InterruptedException {
        if (isSupportedLocation()) {
            DatabaseInfoProvider provider = DatabaseInfoProviderFactory.createProvider(connectionParams);
            DatabaseObject[] objects = new DatabaseObject[] { new ManualSqlStatement(sql) };
            provider.getTableInfo(connectionParams, sourceId, null, objects, callback);
        }
    }
View Full Code Here

    }

    @Override
    protected void runImpl() throws InterruptedException {
        setMessage("Asking the server for list of tables and views");
        DatabaseInfoProvider provider = DatabaseInfoProviderFactory.createProvider(connectionParams);
        provider.getDatabaseObjects(connectionParams, sourceId, targetId, filter, callback);
    }
View Full Code Here

    }

    public DatabaseObjectContainer[] get(DatabaseObject[] tables, SourceId srcId, TargetId tgtId){
      latch=new CountDownLatch(1);
        status=WAITING;
            DatabaseInfoProvider call = DatabaseInfoProviderFactory.createProvider(connectionParams);
            call.getTableInfo(connectionParams, srcId, tgtId, tables, this);
            try {
        latch.await();
      } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
        e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.database.serverapi.DatabaseInfoProvider

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.