Problem during save (SessionBean + DAO+Entity Bean) in websphere 5.0.2
posted 11 years ago
I am using the websphere 5.0.2. I am doing the transaction which has sequence : SessionBean+DAO+Entity bean calls ,The problem is coming when inside session bean i am calling the entity bean (Session bean is running in trnsaction mode as "REQUIRED" but before saving i am getting the Sequenec ID from the database using the DAO(DAO has to statement one is Update+ Select), After getting the SeqID when i call the entity bean for saving the Data i get the Transaction Rollback Excption. ( Also i am not using the XA data source)
OK, i am going to move this to the more appropriate EJB forum. This is about Transaction demarkations, and what Rolls back the Transaction within an EJB, and are we sure where you see this exception, is actually where it is being thrown.
I think you will need to paste your stack trace here for us to get a better look.