I was experimenting with BMT and StatefulBean in EJB 3 in JBoss 6 server. I am using MySQL as database. The SFSB has two methods. Both the methods are inserting some data in Database. Following is the code for the SFSB:
public class StatefulBMTBean
From a standalone java client when I am accessing the SFSB I founded that even if I call cancelAdd(), The rollack is not taking place and data is staying in Database. After Stacktrace enabling I found no exception either.
This is driving me mad Because This is one of the advantages of using BMT in SFSB.
Thanks in Advance
Thanks in advance.
subject: EJB 3 Stateful BMT SessionBean Open Transaction not behaving properly : JBoss 6 : EJB 3