Package org.jitterbit.integration.server.engine

Examples of org.jitterbit.integration.server.engine.EngineSessionException


                throws EngineSessionException, ServerAccessException, ExternalDatabaseException {
        JdbcSession session = getSession(credentials);
        try {
            new ReadSourceExecutor(session, params).run();
        } catch (ServerDbException e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here


                throws EngineSessionException, ServerAccessException, ExternalDatabaseException, SQLException {
        try {
            JdbcSession session = getSession(credentials);
            new WriteTargetExecutor(session, params).run();
        } catch (ServerDbException e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here

     */
    public JdbcSession getSession(JdbcSessionCredentials credentials) throws EngineSessionException {
        JdbcSession session = sessions.getSession(credentials.sessionId, credentials.userName, credentials.md5Password);
        if (session == null) {
            String msg = missingSessionErrorMessage(credentials);
            throw new EngineSessionException(msg);
        }
        return session;
    }
View Full Code Here

        try {
            DbLookup lookup = session.getDbLookup(entityId, connParams);
            lookup.setAutoCommit(autoCommit);
            return lookup.lookup(sql);
        } catch (ServerDbException e) {
            throw new EngineSessionException(e);
        } catch (SQLException e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here

    protected Void doWork(JsonSession session) throws EngineSessionException {
        try {
            session.xmlToJson(params, xsdLocator);
            return null;
        } catch (Exception e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here

        JsonSession session = getSession(credentials);
        try {
            XsdLocator xsdLocator = createXsdLocator(session);
            new JsonToXmlExecutor(session, params, xsdLocator).run();
        } catch (Exception e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here

     */
    private JsonSession getSession(JsonSessionCredentials credentials) throws EngineSessionException {
        JsonSession session = sessions.getSession(credentials.getSessionId(), credentials.getUserName(), credentials.getMd5Pwd());
        if (session == null) {
            String msg = missingSessionErrorMessage(credentials);
            throw new EngineSessionException(msg);
        }
        return session;
    }
View Full Code Here

        JsonSession session = getSession(credentials);
        try {
            XsdLocator xsdLocator = createXsdLocator(session);
            new XmlToJsonExecutor(session, params, xsdLocator).run();
        } catch (Exception e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here

    @Override
    protected Void doWork(JsonSession session) throws EngineSessionException {
        try {
            session.jsonToXml(params, xsdLocator);
        } catch (Exception e) {
            throw new EngineSessionException(e);
        }
        return null;
    }
View Full Code Here

        try {
            DbExecute exec = session.getDbExecute(entityId, connParams);
            exec.setAutoCommit(autoCommit);
            return exec.execute(sql, maxNumberOfRows);
        } catch (SQLException e) {
            throw new EngineSessionException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.engine.EngineSessionException

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.