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

Invalid parameter: 'parameter (5)' contains different types. #192

Open
tq20 opened this issue Jan 11, 2022 · 0 comments
Open

Invalid parameter: 'parameter (5)' contains different types. #192

tq20 opened this issue Jan 11, 2022 · 0 comments

Comments

@tq20
Copy link

tq20 commented Jan 11, 2022

Hi Colleague,

This is a consulting issue. I got an error message when attempting to inserting data into a hdb table as below.
image

It seems that if the data type of attribute to be inserted is different from what it defines in db, then the error message will be reported. Even if the data type is string in db, and input data type is number, the data type conversion will be not handled by hana client automatically. I am not sure if it is a normal behavior. Could you please help to clarify?

Thank you very much.
BR,
Qin

Your Project Name https://github.tools.sap/ROCKETS/sample-cap-change-history-fe
OData version v4
Node.js version v14.18.0
@sap/cds 5.6.1
@sap/hana-client 2.11.14
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