File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem during save (SessionBean + DAO+Entity Bean) in websphere 5.0.2

 
Sanju Sharma
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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)

Thanks for helping in advance

Regards
Sanjeev
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic