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 |
What is jdbc odbc bridge in java?
how can we connect to db without using getConnection() method
How java can be connected to a database?
Explain about the drive manager class working?
What is a statement?
How can I manage special characters when I execute an insert query?
Can we make a database connection from HTML ?
6 Answers Aptech, BOB Technologies, Cap Gemini, Wipro,
What are the ddl statements?
How to know howmuch data is truncated?
What is the use of dialect?
What is while rs next ())?
What is jdbc and explain jdbc architecture?