Package org.jitterbit.integration.server.engine.jdbc

Examples of org.jitterbit.integration.server.engine.jdbc.JdbcSessionId


    @Override
    public WsJdbcError closeSession(WsJdbcSessionId sessionId) throws RemoteException {
        try {
            JdbcEngine engine = JdbcEngine.getEngine();
            engine.closeSession(new JdbcSessionId(sessionId.getSessionGuid()),
                            sessionId.getJitterbitUser(), sessionId.getMd5Pwd());
            return createForSuccess();
        } catch (Exception e) {
          return createForException(e, "closeSession");
        }
View Full Code Here


        throw new IllegalArgumentException("Must specify a Source or Target GUID.");
    }

    private JdbcSession getSession(WsJdbcSessionId id) throws EngineSessionException {
        JdbcEngine engine = JdbcEngine.getEngine();
        JdbcSessionCredentials credentials = new JdbcSessionCredentials(new JdbcSessionId(id.getSessionGuid()), id.getJitterbitUser(), id.getMd5Pwd());
        return engine.getSession(credentials);
    }
View Full Code Here

        return new WsDbExecuteResult(createForSuccess(), rs, result.getUpdateCount());
    }

    private static JdbcSessionCredentials toCredentials(WsJdbcSessionId ws) {
        return new JdbcSessionCredentials(
                        new JdbcSessionId(ws.getSessionGuid()),
                        ws.getJitterbitUser(),
                        ws.getMd5Pwd());
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.engine.jdbc.JdbcSessionId

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.