micronaut-data
micronaut-data copied to clipboard
issues/3045: HQL where in with empty entity list throws NPE
Important to note I couldn't run some of the test suites successfully on my M1, but those that did run passed locally.
- add test for the issue
- in HibernateJpaOperations, call setParameterList instead of setParameter where appropriate
- in AbstractHibernateOperations, evaluate any bindings that have an index, rather than just isNativeQuery bindings
- use value in setParameterList instead of using parameterIndex as the value
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>