IN clause parameter padding not working for criteria query in conjunction with LiteralHandlingMode.BIND

Description

Having a criteria query with in literal query. The parameter padding does not happen, even when the LiteralHandlingMode.BIND is used.
That is because of handling the LiteralHandlingMode.BIND at
InPredicate and LiteralExpression. Single parameters are added to the RenderingContext. Maybe the complete List should be added, so QueryParameterBindingsImpl can take care of the padding.
The 'in_clause_parameter_padding' is handelt QueryParameterBindingsImpl and is looking for 'parameterLists'.
Do to @vladmihalcea that could be a bug:
Comment on "How to improve statement caching efficiency with IN clause parameter padding"

Environment

None

Assignee

Unassigned

Reporter

Oliver Breidenbach

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure