Package org.jitterbit.integration.database.driver

Examples of org.jitterbit.integration.database.driver.JdbcDriverDesriptorBuilder


        if (StringUtils.isEmpty(driverClass)) {
            driver = OdbcDriverDescriptorFactory.createDescriptor(name, quotes);
        }
        else {
            String subprotocol = loc.getProperty(DatabaseLocation.JDBC_SUBPROTOCOL);
            driver = new JdbcDriverDesriptorBuilder()
                .name(name)
                .subprotocol(subprotocol)
                .driverClass(driverClass)
                .quotes(quotes)
                .build();
View Full Code Here


        BeginEndQuote quotes = BeginEndQuote.fromStrings(beginQuote, endQuote);
        DriverDescriptor driver = null;
        if (type == ODBC_TYPE) {
            driver = OdbcDriverDescriptorFactory.createDescriptor(name, quotes);
        } else if (type == JDBC_TYPE) {
            driver = new JdbcDriverDesriptorBuilder()
                .name(name)
                .subprotocol(persistor.getString(SUBPROTOCOL))
                .driverClass(persistor.getString(CLASS_NAME))
                .quotes(quotes)
                .build();
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.database.driver.JdbcDriverDesriptorBuilder

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.