geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher James Blythe (JIRA)" <>
Subject [jira] Created: (DAYTRADER-43) Reset fails in Session Direct mode
Date Thu, 10 May 2007 16:12:15 GMT
Reset fails in Session Direct mode

                 Key: DAYTRADER-43
             Project: DayTrader
          Issue Type: Bug
          Components: EJB Tier
    Affects Versions: 1.2, 2.0
            Reporter: Christopher James Blythe
            Priority: Minor

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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message