public class QueryLimitCompatibilityUtil extends Object
Constructor and Description |
---|
QueryLimitCompatibilityUtil() |
Modifier and Type | Method and Description |
---|---|
static <E,Q extends Query> |
executeList(Q query)
Fallback to
Query.list() when custom implementation is present. |
public static <E,Q extends Query> List<E> executeList(Q query)
Query.list()
when custom implementation is present.
When a custom WritableIdentityProvider
or ReadOnlyIdentityProvider
is
implemented, a custom query implementation can be used which leads to a situation in which
AbstractQuery.unboundedResultList()
is not available.query
- to be executedCopyright © 2020. All rights reserved.