-
Notifications
You must be signed in to change notification settings - Fork 132
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
Is insert with null value generate wrong sql query ? #767
Comments
Why should it create two |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Hello @schauder What do you think? |
Hello,
I wrote a bu report to r2dbc project but they think it's related to spring data
this is the original message r2dbc/r2dbc-spi#271
And the description of the bug :
It looks like a bug
CryptoExchanges(null, null)
Should generates this request :INSERT INTO "common"."CryptoExchanges" VALUES (DEFAULT, DEFAULT);
But I see it generates:
INSERT INTO "common"."CryptoExchanges" VALUES (DEFAULT)
With an error :
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Column count does not match; SQL statement:
I join a project with last version of Spring boot, Java, Kotlin and H2 R2dbc
You can find a test inside that generate this error
And an SQL script for init the DB
demo.zip
The text was updated successfully, but these errors were encountered: