This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!