Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Transactions  RSS feed

 
Ravi Singh
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does the database transaction mechanism work with EJB's?

Does the container write the database operations to some 'cache', check that the operations will execute correctly, and then commit them to the database?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It all depends on what type of driver you're using. But no matter what, it doesn't really have anything to do with how the container manages your transaction. Search the net for "jdbc driver type". There are four or five types (I forget).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!