• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transactions Management

 
Sujith Kannan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to manage transactions in my application using a session bean.For instance let us take the typical example of emp-dept.
While inserting a record in the department table I want to validate for a condition and if it fails I want to rollback all related operations.For this Iam using transactions and have planned to use a session bean with its transaction-attribute set as bean so that I can use the JTA for transaction management.
While doing this,I wanted to know what the transaction attribute for the entity bean would be?
It would be nice if anybody could help me in this issue.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!