Skip to content

Fix JsonReaderException on BulkInsertAsync when SetOutputIdentity = true, and IsJson column is null#1602

Merged
borisdj merged 1 commit intoborisdj:masterfrom
manuel-fernandez-rodriguez:features/1572-fix-jsonreaderexception
Nov 14, 2024
Merged

Fix JsonReaderException on BulkInsertAsync when SetOutputIdentity = true, and IsJson column is null#1602
borisdj merged 1 commit intoborisdj:masterfrom
manuel-fernandez-rodriguez:features/1572-fix-jsonreaderexception

Conversation

@manuel-fernandez-rodriguez
Copy link
Copy Markdown
Contributor

…rue, and IsJson column is null

- Make sure nulls are sent to SqlBulkCopy as null, and not as the string "null" in SqlServerAdapter.InnerGetDataTable
 - Fixes borisdj#1572
@borisdj borisdj merged commit 8040eb8 into borisdj:master Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.Text.Json.JsonReaderException on BulkInsertAsync when SetOutputIdentity = true, and IsJson column is null

2 participants