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.