Class QueryResultListSizeEvent

All Implemented Interfaces:
Event, Serializable

public class QueryResultListSizeEvent extends QueryEvent
The QueryResultListSizeEvent indicates that a JPQL, Criteria API, or SQL query returned a List containing more elements than the maximum result size, which is given by the Config.Property.Query.MAX_RESULT_SIZE property value.
Since:
2.2.0
Author:
Vlad Mihalcea
See Also:
  • Constructor Details

    • QueryResultListSizeEvent

      public QueryResultListSizeEvent(String queryString, int resultListSize)
      Instantiate the event using the provided parameters.
      Parameters:
      queryString - query string
      resultListSize - result list size
  • Method Details