-
Notifications
You must be signed in to change notification settings - Fork 346
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
Error with Batch Update #2944
Comments
Hi! I ran into the same error message you mention in the second issue. I was able to make it work by downgrading quill to 4.3.0. Have not been able to dig into why it happens yet, but perhaps that is useful to you. |
Hi, I have the same problem. Downgrading quill to 4.3.0 solves the problem, but causes another one (like this #2735). I hope this will be solved soon. |
Is anyone aware of a workaround for these typing issues in batch queries? |
@deusaquilus Was this issue introduced by #2571 ? |
One workaround is to not use batch. Second is to update using this method, is what I have found works.
|
Version: '4.8.0'
Module:
quill-jdbc
Database:
postgresql
I have model class:
then DAO method:
Because of
returning(h => h)
it generates this SQL:Then the error is obvious:
was aborted: ERROR: column round.user_id does not exist
, I have configured SnakeCase, but it doesnt match.The other issue is, when I remove
returning command
, then it fails on diffrent case, resulting SQL is:And the error message is:
aborted: ERROR: column "completed_at" is of type timestamp without time zone but expression is of type text Hint: You will need to rewrite or cast the expression.
Here I have no idea why it fails.
@getquill/maintainers
The text was updated successfully, but these errors were encountered: