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

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


    @Override
    public WsJdbcStartNewSessionResult startNewSession(String jitterbitUser, String md5Pwd) throws RemoteException {
        try {
            JdbcEngine engine = JdbcEngine.getEngine();
            JdbcSession session = engine.newSession(jitterbitUser, md5Pwd);
            return new WsJdbcStartNewSessionResult(createForSuccess(), session.getId().toString());
        } catch (Exception e) {
          return new WsJdbcStartNewSessionResult(createForException(e, "startNewSession"), null);
        }
    }
View Full Code Here


    }

    @Override
    public WsJdbcError commitTransactions(WsJdbcSessionId sessionId) throws RemoteException {
        try {
            JdbcSession session = getSession(sessionId);
            session.commitTransactions();
            return createForSuccess();
        } catch (Exception e) {
          return createForException(e, "commitTransactions");
        }
    }
View Full Code Here

    }

    @Override
    public WsJdbcError rollbackTransactions(WsJdbcSessionId sessionId) throws RemoteException {
        try {
            JdbcSession session = getSession(sessionId);
            session.rollbackTransactions();
            return createForSuccess();
        } catch (Exception e) {
          return createForException(e, "rollbackTransactions");
        }
    }
View Full Code Here

TOP

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

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.