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.