We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Based on this docs: https://github.com/aaberg/sql2o/wiki/Column-mappings
Old query: SELECT created_date createdDate, user_id userId, phone FROM mob_user WHERE userId = :userIdParam Exception: Database error: ORA-00904: "USERID": invalid identifier
But its success when query like this: New query: SELECT created_date createdDate, user_id userId, phone FROM mob_user WHERE user_id = :userIdParam
Old query: UPDATE mob_user SET cuid = :cuidParam WHERE user_id = :userIdParam Exception: - (but field not updated)
But its success when query like this: New query: UPDATE mob_user SET cuid = :cuidParam WHERE phone = :phoneParam
Can you help me what's wrong??? I see something is wrong with the column using underscore. I'm using sql2o version 1.6.
MAVEN
org.sql2o sql2o 1.6.0
The text was updated successfully, but these errors were encountered:
@LinggaAskaEdo could you extend your context , how your table looks like, how do you execute queries above, what database do you use
Sorry, something went wrong.
No branches or pull requests
Based on this docs: https://github.com/aaberg/sql2o/wiki/Column-mappings
Old query: SELECT created_date createdDate, user_id userId, phone FROM mob_user WHERE userId = :userIdParam
Exception: Database error: ORA-00904: "USERID": invalid identifier
But its success when query like this:
New query: SELECT created_date createdDate, user_id userId, phone FROM mob_user WHERE user_id = :userIdParam
Old query: UPDATE mob_user SET cuid = :cuidParam WHERE user_id = :userIdParam
Exception: - (but field not updated)
But its success when query like this:
New query: UPDATE mob_user SET cuid = :cuidParam WHERE phone = :phoneParam
Can you help me what's wrong??? I see something is wrong with the column using underscore. I'm using sql2o version 1.6.
MAVEN
The text was updated successfully, but these errors were encountered: