Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 1d46b87008b6e9666bde4564cb323aaff8da8a9a
https://github.com/hibernate/hibernate-orm/commit/1d46b87008b6e9666bde456...
Author: Yanming Zhou <zhouyanming(a)gmail.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
Log Message:
-----------
HHH-18575 Fix IllegalStateException while passing multi-valued BigDecimal as parameter
Fix
```
java.lang.IllegalStateException: Binding is multi-valued; illegal call to #getBindValue
at
org.hibernate.query.internal.QueryParameterBindingImpl.getBindValue(QueryParameterBindingImpl.java:100)
at
org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.resolveSqmParameter(BaseSqmToSqlAstConverter.java:6283)
at
org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.consumeSqmParameter(BaseSqmToSqlAstConverter.java:5861)
at
org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.consumeSingleSqmParameter(BaseSqmToSqlAstConverter.java:5950)
at
org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.processInSingleParameter(BaseSqmToSqlAstConverter.java:8178)
at
org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.processInSingleHqlParameter(BaseSqmToSqlAstConverter.java:8135)
at
org.hibernate.query.sqm.sql.BaseSqmToSqlAstConverter.processInListWithSingleParameter(BaseSqmToSqlAstConverter.java:8124)
```
Commit: 2e54d957077b6174a5258049f400c06912f38812
https://github.com/hibernate/hibernate-orm/commit/2e54d957077b6174a525804...
Author: Yanming Zhou <zhouyanming(a)gmail.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/MultiValuedParameterTest.java
Log Message:
-----------
HHH-18575 Add test for issue
Compare:
https://github.com/hibernate/hibernate-orm/compare/1951c0b993f0...2e54d95...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications