Closed lukaskirner closed 3 weeks ago
We have issues with 6.6.0.Final too
Exception while resolving type for attribute pageCount[de.kontextwork.dw.platform.borl.space.model.view.SpaceWithPageCountView.getPageCount]:
java.lang.UnsupportedOperationException: Not implemented for org.hibernate.query.sqm.produce.function.StandardFunctionReturnTypeResolvers$1
at org.hibernate.query.sqm.produce.function.FunctionReturnTypeResolver.resolveFunctionReturnType(FunctionReturnTypeResolver.java:46)
at com.blazebit.persistence.integration.hibernate.base.function.HibernateSqmFunctionDescriptorAdapter.getReturnType(HibernateSqmFunctionDescriptorAdapter.java:133)
at com.blazebit.persistence.view.impl.ScalarTargetResolvingExpressionVisitor.resolveToFunctionReturnType(ScalarTargetResolvingExpressionVisitor.java:619)
at com.blazebit.persistence.view.impl.ScalarTargetResolvingExpressionVisitor.visit(ScalarTargetResolvingExpressionVisitor.java:503)
at com.blazebit.persistence.parser.expression.FunctionExpression.accept(FunctionExpression.java:96)
Just as a heads up, neither 6.6.1 works in this case
This is preventing us from upgrading to Hibernate 6.6, is there any update on a potential fix?
Description
Exception is thrown for a string concatenation in a mapping
@Mapping("family.name || '-' || family.subName")
after upgrading Hibernate to 6.6.0.Final. Worked with Hibernate 6.5.2.Final before.CONCAT
is also not workingExpected behavior
No exception
Actual behavior
Steps to reproduce
Any Spring Boot project with the following versions of Hibernate.
build.gradle.kts
Environment
Version: 1.6.12
JPA-Provider: Hibernate 6.6.0.Final
Framework: Spring Boot v3.3.2