Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Explicit commit in container Managed transaction

 
Vincent Jijo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm using container managed transaction for Stateless Session Bean.
Can we do an explicit commit or rollback in the middle of the transaction maintained by container?

I'm getting the below mentioned exception sometimes.. dont know whats the root cause..

java.sql.SQLException: ORA-01591: lock held by in-doubt distributed transaction 19.37.1581

Can anybody clarify ..?

Thanks and Regards,
Jijo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic