Package org.jitterbit.integration.database

Examples of org.jitterbit.integration.database.SqlStatementParser.replaceFilter()


    private void applyAdHocFilterToManualSqlStatement(CROM rootTable, String adHocFilter, String manualSql)
                    throws ExternalDatabaseException {
        try {
            SqlStatementParser parser = new SqlStatementParser(manualSql);
            String newSql = parser.replaceFilter(adHocFilter);
            ((CROM_DB) rootTable.getExtension()).setManualSqlStatement(newSql);
        } catch (Exception ex) {
            throw new ExternalDatabaseException("Jitterbit could not modify the manual SQL statement by adding " +
                    "the filter \"" + adHocFilter + "\". This is a bug. Please report it to Jitterbit Support.", ex);
        }
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.