[ 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.