HHH-15078 - Support for Tuple and SelectionQuery

This commit is contained in:
Andrea Boriero 2022-03-31 11:47:53 +02:00 committed by Steve Ebersole
parent aa0c57aa5c
commit 3358157d19
1 changed files with 0 additions and 5 deletions

View File

@ -285,11 +285,6 @@ public class QuerySqmImpl<R>
private void validateStatement(SqmStatement<R> sqmStatement, Class<R> resultType) {
if ( sqmStatement instanceof SqmSelectStatement<?> ) {
SqmUtil.verifyIsSelectStatement( sqmStatement, hql );
visitQueryReturnType(
( (SqmSelectStatement<R>) sqmStatement ).getQueryPart(),
resultType,
getSessionFactory()
);
}
else {
if ( resultType != null ) {