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

EJB transaction  RSS feed

 
amit sanghai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are Acid properties of a transaction?
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A= Atomic
C= Consistent
I= Isolated
D= Durable
Perhaps you need to pick up a book on EJB. Try this one:
Enterprise Java Beans - 3rd Edition
 
ejbsuryanarayana
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by amit sanghai:
What are Acid properties of a transaction?


Guru learn basics
-----------------
Atomicity - is to group all the related TX into one unit of TX, for that in DTMs we use NotSupported,Required, RequiresNew, Supports, Mandatory and Never in PTM
Consistency
Isolation
To get consistency we need to isolate records in the DB, for that we use TX Isolation level property of java.sql.Connection interface.
Duarability
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ejbsuryanarayana
Please change your display name to match the required format for javaRanch. We require that you use your real first name - space - your real last name.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!