Support statistics when criteria(s) are executed
This commit is contained in:
parent
f05f002c22
commit
b91944c09a
|
@ -122,7 +122,7 @@ public class ConcreteSqmSelectQueryPlan<R> implements SelectQueryPlan<R> {
|
|||
|
||||
@Override
|
||||
public boolean hasQueryExecutionToBeAddedToStatistics() {
|
||||
return !CRITERIA_HQL_STRING.equals( hql );
|
||||
return true;
|
||||
}
|
||||
},
|
||||
rowTransformer,
|
||||
|
|
Loading…
Reference in New Issue