Skip to content

RM-9724 Add FocrceSeek to lockstatment for Batched Sql queries - #1446

Open
dkudernatsch wants to merge 1 commit into
developfrom
bugfix/RM-9724
Open

RM-9724 Add FocrceSeek to lockstatment for Batched Sql queries#1446
dkudernatsch wants to merge 1 commit into
developfrom
bugfix/RM-9724

Conversation

@dkudernatsch

Copy link
Copy Markdown
Contributor

No description provided.

@dkudernatsch dkudernatsch self-assigned this Aug 17, 2026
{
var selectColumns = string.Join(", ", columns.Select(c => $"{parameterAlias}.{c}"));
var joinCondition = string.Join(" AND ", columns.Select(c => $"{parameterAlias}.{c} = {tableAlias}.{c}"));
var tableHints = forReadCommittedIsolation ? "ROWLOCK, XLOCK, READPAST" : "ROWLOCK, XLOCK";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should update the Lock_DoesNotWaitToFail_ForOtherTransaction_WithIsolationLevel_ReadCommitted to use more than two Tasks and possibly switch from Task to Thread. It doesn't have to be in this PR but it would be correct and helpful to demonstrate the issue. If not done here, we need a follow-up task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants