Skip to content

Is it normal that DAOs skip inserting default values? #15226

Closed Answered by lukaseder
kaqqao asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your message and for your patience. The discussions don't seem to be part of our "open questions" report yet, which is why this hasn't been answered yet.

If jOOQ knows about both your NOT NULL constraint as well as the DEFAULT expression, then there shouldn't be any explicit NULL values in the INSERT statement. Possibly a bug. May I ask you to report one here, along with a complete reproducer? https://www.jooq.org/doc/latest/manual/sql-building/model-api/model-api-replacement/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lukaseder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment