Package org.apache.stonehenge.stocktrader.dal

Examples of org.apache.stonehenge.stocktrader.dal.OrderDAO.commitTransaction()


      order = createOrder(orderType, userID, holdingID, symbol, quantity,
          holding);

      TradeOrderServiceClient asynClient = TradeOrderServiceClient.getInstance();
      asynClient.SubmitOrderTrasactedQueue(order);
      orderDAO.commitTransaction();
      return order;
    } catch (Exception e) {
      try {
        orderDAO.rollbackTransaction();
      } catch (DAOException e2) {
View Full Code Here


      order = createOrder(orderType, userID, holdingID, symbol, quantity,
          holding);

            TradeOrderServiceClient asynClient = TradeOrderServiceClient.getInstance();
      asynClient.SubmitOrder(order);
      orderDAO.commitTransaction();
      return order;
    } catch (Exception e) {
      try {
        orderDAO.rollbackTransaction();
      } catch (DAOException e2) {
View Full Code Here

      order = createOrder(orderType, userID, holdingID, symbol, quantity,
          holding);

      TradeOrderServiceClient asynClient = TradeOrderServiceClient.getInstance();
      asynClient.SubmitOrderTrasactedQueue(order);
      orderDAO.commitTransaction();
      return order;
    } catch (Exception e) {
      try {
        orderDAO.rollbackTransaction();
      } catch (DAOException e2) {
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.