diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java index 366c129098..2e10607a1e 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmSelectionQueryImpl.java @@ -217,6 +217,10 @@ public class SqmSelectionQueryImpl extends AbstractSelectionQuery implemen this.tupleMetadata = buildTupleMetadata( sqm, expectedResultType ); } + public TupleMetadata getTupleMetadata() { + return tupleMetadata; + } + @SuppressWarnings("rawtypes") public SqmSelectStatement getSqmStatement() { return sqm;