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
DB2 ActiveRecord::JDBCError: [SQL5016] #598
Comments
not really since we do not have anything to test this against, we rely on "outside" commiters ... we're also planning to deprecate the AS400 parts in favor of https://github.com/pierrickrouxel/activerecord-jdbcas400-adapter since we're pretty much playing a dump merger here, maybe ask around @pierrickrouxel |
As said @kares you can try with the new adapter. If the bug is always present please create a new issue in my repository. |
I wasn't able to get Thanks. |
What is your IBM i version ? |
6.1 |
I receive this error from rails 3.2, jruby-1.7.16 when I try to perform a
.save
on a new ActiveRecord::Base model.This query seems to come from lib / arjdbc / db2 / as400.rb.
When I look at the error code in DB2 documentation, it makes it sound like an error with naming. It recommends changing the jdbc driver connection to use system naming, but that causes a different set of errors.
Any ideas? Things I should try? Thanks!
I have been able to get around this error in the past by making a raw SQL insert query against DB2 directly for the initial save action (new record).
The text was updated successfully, but these errors were encountered: