What are the considerations for deciding on transaction boundaries?



What are the considerations for deciding on transaction boundaries?..

Answer / Ompal Singh

When deciding on transaction boundaries in JDBC, you should consider the following:
1. Atomicity: A single unit of work should be completed entirely or not at all.
2. Isolation: Transactions should run independently without affecting other transactions.
3. Consistency: The database state should remain consistent after a transaction is complete.
4. Durability: Once committed, the changes made by a transaction should persist permanently.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

What is jdbc odbc bridge in java?

1 Answers  


how can we connect to db without using getConnection() method

4 Answers  


How java can be connected to a database?

1 Answers  


Explain about the drive manager class working?

1 Answers  


What is a statement?

1 Answers  


How can I manage special characters when I execute an insert query?

1 Answers  


Can we make a database connection from HTML ?

6 Answers   Aptech, BOB Technologies, Cap Gemini, Wipro,


What are the ddl statements?

1 Answers  


How to know howmuch data is truncated?

1 Answers   Mastek,


What is the use of dialect?

1 Answers  


What is while rs next ())?

1 Answers  


What is jdbc and explain jdbc architecture?

1 Answers  


Categories