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

NULL values incorrectly being cast to varchar for pgsql dialect #13

Open
solatis opened this issue May 31, 2016 · 1 comment
Open

NULL values incorrectly being cast to varchar for pgsql dialect #13

solatis opened this issue May 31, 2016 · 1 comment
Labels

Comments

@solatis
Copy link
Contributor

solatis commented May 31, 2016

user=> (fmt/sqlvec (-> (dsl/update :foo) (dsl/set :foo nil)))
["update foo set foo = ?" nil]
user=> (fmt/sqlvec (-> (dsl/update :foo) (dsl/set :foo nil)) {:dialect :postgresql})
["update foo set foo = cast(? as varchar)" nil]

Most likely an issue with jOOQ.

@solatis
Copy link
Contributor Author

solatis commented Oct 3, 2016

Looks like this is (going to be) patched in jOOQ 3.10:

jOOQ/jOOQ#5345

@niwinz niwinz added the bug label Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants