You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HHH-15142 CriteriaQuery with Like predicate fails when repeated with java.lang.IllegalArgumentException: Parameter value [] did not match expected type [java.lang.String (n/a)]
Copy file name to clipboardExpand all lines: hibernate-core/src/main/java/org/hibernate/query/criteria/internal/expression/ParameterExpressionImpl.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ public class ParameterExpressionImpl<T>
25
25
implementsParameterExpression<T>, Serializable {
26
26
privateStringname;
27
27
privatefinalIntegerposition;
28
+
privatebooleanisNameGenerated;
28
29
29
30
publicParameterExpressionImpl(
30
31
CriteriaBuilderImplcriteriaBuilder,
@@ -57,6 +58,10 @@ public String getName() {
57
58
returnname;
58
59
}
59
60
61
+
publicbooleanisNameGenerated() {
62
+
returnisNameGenerated;
63
+
}
64
+
60
65
@Override
61
66
publicIntegergetPosition() {
62
67
returnposition;
@@ -76,6 +81,7 @@ public void registerParameters(ParameterRegistry registry) {
0 commit comments