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

Queries returning a Relation fails with SQLCODE=-1213 on IDS #177

Open
NordicMadViking opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@NordicMadViking
Copy link

Any query that includes a WHERE and a LIMIT fails with a "warning: Statement Execute Failed: [IBM][CLI Driver][IDS/UNIX64] A character to numeric conversion process failed SQLCODE=-1213" - typically when an ActiveRecord method returns a Relation.

image

Same query but returning the result to memory works as the LIMIT is not included.
image

This is causing any belongs_to association queries to fail
image

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

No branches or pull requests

1 participant