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

UserTransaction

 
Haroldo Nascimento
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I can commit/rollback DB transaction with metohds commit()/rollback() of javax.transaction.UserTransaction ? If Yes, How ?

Thanks
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about reading the API docs? And, what you can invoke depends on what type of bean you are talking about. In that case you should read the EJB specs also. Have fun.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic