HHH-15482 CoercionException in criteria simple case statement
This commit is contained in:
parent
e9f09315fa
commit
8d9019e981
|
@ -196,7 +196,7 @@ public class SqmCaseSimple<T, R>
|
|||
@Override
|
||||
public JpaSimpleCase<T, R> when(T condition, Expression<? extends R> result) {
|
||||
//noinspection unchecked
|
||||
when( nodeBuilder().value( condition, (SqmExpression<T>) result ), (SqmExpression<R>) result );
|
||||
when( nodeBuilder().value( condition, fixture ), (SqmExpression<R>) result );
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue