The current implementation of Connection#setTransactionIsolationLevel does not align with its specification. According to the specification(), this method should configure the isolation level for the connection, and the specified isolation level should apply to all subsequent transactions. However, the current behavior applies the isolation level only to the next transaction.
Proposal
Aligning the behavior of Connection#setTransactionIsolationLevel with its specification. The implementation should be adjusted so that the configured isolation level persists for all subsequent transactions until explicitly changed.
Action Items
Modify the implementation of Connection#setTransactionIsolationLevel to align with the specification.(AbstractTransactionState could be utilized if needed )
Verify and update the transaction isolation behavior in the entire project to ensure consistency and adherence to the proposed changes.
Issue
The current implementation of
Connection#setTransactionIsolationLevel
does not align with its specification. According to the specification(), this method should configure the isolation level for the connection, and the specified isolation level should apply to all subsequent transactions. However, the current behavior applies the isolation level only to the next transaction.Proposal
Aligning the behavior of
Connection#setTransactionIsolationLevel
with its specification. The implementation should be adjusted so that the configured isolation level persists for all subsequent transactions until explicitly changed.Action Items
Connection#setTransactionIsolationLevel
to align with the specification.(AbstractTransactionState
could be utilized if needed )Refs