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

INSERT and UPDATE statement assignments contain table prefix [DATAJDBC-343] #566

Closed
spring-projects-issues opened this issue Mar 18, 2019 · 0 comments

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Mar 18, 2019

Mark Paluch opened DATAJDBC-343 and commented

Rendered INSERT and UPDATE statements contain table prefixes in their assignments:

UPDATE legoset SET legoset.name = $1

This fails on Postgres and may work on other databases. We should not render the table prefix unless we get Dialect-awareness.

Postgres error:

UPDATE legoset SET legoset.name = $1, legoset.manual = $2 WHERE legoset.id = $3

Error: column "legoset" of relation "legoset" does not exist

Referenced from: commits 7a738ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants