Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQL nulls in JSON #3991

Merged
merged 3 commits into from Jan 30, 2024
Merged

Fix SQL nulls in JSON #3991

merged 3 commits into from Jan 30, 2024

Conversation

katzyn
Copy link
Contributor

@katzyn katzyn commented Jan 30, 2024

FORMAT clause doesn't convert a SQL null value into SQL/JSON null value any more.

H2Type.JSON can now be specified in setObject() method to produce a JSON value from a java.lang.String.

Closes #3966.

@katzyn katzyn merged commit 906edeb into h2database:master Jan 30, 2024
2 checks passed
@katzyn katzyn deleted the json branch January 30, 2024 15:23
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.

Unable to insert null into a JSON column
1 participant