HHH-15078 - Support for Tuple and SelectionQuery
This commit is contained in:
parent
aa0c57aa5c
commit
3358157d19
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue