Skip to content

Ignore PostgreSQL casts when counting SQL parameters - #5647

Open
lim950808 wants to merge 1 commit into
spring-projects:mainfrom
lim950808:postgres-cast-parameter-parsing
Open

lim950808 wants to merge 1 commit into
spring-projects:mainfrom
lim950808:postgres-cast-parameter-parsing

Conversation

@lim950808

Copy link
Copy Markdown

JdbcParameterUtils now skips the :: cast operator, so ?::jsonb is counted as one ? placeholder instead of a ? plus a named parameter.

Resolves #5646

Resolves spring-projects#5646

Signed-off-by: Jae Eok Lim <lim080895@gmail.com>

This branch has not been deployed

No deployments
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.

JdbcBatchItemWriter rejects ? placeholders combined with a PostgreSQL :: cast

1 participant