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

parked: fix: allow hdb to have default type placeholders #671

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BobdenOs
Copy link
Contributor

@BobdenOs BobdenOs commented Jun 3, 2024

When a resulting SQL statement has place holders of unknown type it causes trouble with hdb. As it enforces the data type that HANA provides. So in certain cases a place holder will default to nvarchar, but the actual value for the place holder will be a number. Which will be rejected as hdb only allows strings to be provided to these placeholders. There for this change converts all the values into a string before sending them to the prepared statement.

@BobdenOs BobdenOs requested a review from sjvans June 3, 2024 08:17
@BobdenOs BobdenOs added the next release pr to be checked for next release label Jun 7, 2024
@johannes-vogel johannes-vogel changed the title fix: allow hdb to have default type placeholders parked: fix: allow hdb to have default type placeholders Sep 2, 2024
@johannes-vogel johannes-vogel removed the next release pr to be checked for next release label Sep 2, 2024
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

Successfully merging this pull request may close these issues.

2 participants