Uploaded image for project: 'DayTrader'
  1. DayTrader
  2. DAYTRADER-43

Reset fails in Session Direct mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2, 2.0
    • 1.2, 2.0
    • EJB Tier
    • None

    Description

      If you attempt to reset Daytrader in Session Direct mode, the container will throw in exception. Took a closer look and have a quick fix.

      The ejb DDL defines resetTrade as TRANSACTION NOT SUPPORTED. Therefore, the reset code must perform the commits and not rely on the container to do it. This can be accomplished by setting the inSession flag to false when creating a new instance of TradeDirect for the resetTrade method in TradeJDBCBean.

      Attachments

        Activity

          People

            cjblythe25 Christopher James Blythe
            cjblythe25 Christopher James Blythe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: