File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 62
62
import org .hibernate .persister .entity .Queryable ;
63
63
import org .hibernate .persister .spi .PersisterFactory ;
64
64
import org .hibernate .query .BindableType ;
65
+ import org .hibernate .query .derived .AnonymousTupleSqmPathSource ;
65
66
import org .hibernate .query .sqm .SqmExpressible ;
66
67
import org .hibernate .query .sqm .tree .domain .SqmPath ;
67
68
import org .hibernate .query .sqm .tree .expression .SqmFieldLiteral ;
@@ -790,6 +791,13 @@ public MappingModelExpressible<?> resolveMappingExpressible(
790
791
throw new UnsupportedOperationException ( "Resolution of embedded-valued SqmExpressible nodes not yet implemented" );
791
792
}
792
793
794
+ if ( sqmExpressible instanceof AnonymousTupleSqmPathSource <?> ) {
795
+ return resolveMappingExpressible (
796
+ ( (AnonymousTupleSqmPathSource <?>) sqmExpressible ).getSqmPathType (),
797
+ tableGroupLocator
798
+ );
799
+ }
800
+
793
801
if ( sqmExpressible instanceof EmbeddableTypeImpl ) {
794
802
return (MappingModelExpressible <?>) sqmExpressible ;
795
803
}
You can’t perform that action at this time.
0 commit comments