You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Christopher James Blythe (JIRA)" <de...@geronimo.apache.org> on 2007/05/10 18:12:15 UTC

[jira] Created: (DAYTRADER-43) Reset fails in Session Direct mode

Reset fails in Session Direct mode
----------------------------------

                 Key: DAYTRADER-43
                 URL: https://issues.apache.org/jira/browse/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.


[jira] Closed: (DAYTRADER-43) Reset fails in Session Direct mode

Posted by "Christopher James Blythe (JIRA)" <de...@geronimo.apache.org>.
     [ https://issues.apache.org/jira/browse/DAYTRADER-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher James Blythe closed DAYTRADER-43.
---------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
                   1.2
         Assignee: Christopher James Blythe

Applied fixes to 1.2 and 2.0

> Reset fails in Session Direct mode
> ----------------------------------
>
>                 Key: DAYTRADER-43
>                 URL: https://issues.apache.org/jira/browse/DAYTRADER-43
>             Project: DayTrader
>          Issue Type: Bug
>          Components: EJB Tier
>    Affects Versions: 1.2, 2.0
>            Reporter: Christopher James Blythe
>         Assigned To: Christopher James Blythe
>            Priority: Minor
>             Fix For: 1.2, 2.0
>
>
> 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.