NETProvider icon indicating copy to clipboard operation
NETProvider copied to clipboard

Request for adding warning when using Serializable isolation level for transactions

Open AniruddhaAchar opened this issue 2 years ago • 0 comments

The transaction isolation level of Serializable in ADO.Net and Firebird has different meanings and implications. In ADO.Net, Serializable means that transactions are executed as if they were in serial order, without any concurrency issues. In Firebird, Serializable means that transactions are executed with the highest level of isolation, but they may still encounter concurrency anomalies such as phantom reads or write skew. Therefore, developers should be aware of this difference and use appropriate techniques to ensure data consistency and integrity. It would be helpful if the documentation or the compiler could warn the developers about this discrepancy and suggest possible solutions.

https://github.com/FirebirdSQL/firebird/issues/7546 addresses this from the database perspective.

AniruddhaAchar avatar Apr 20 '23 17:04 AniruddhaAchar