Class JRJpaQueryExecuterFactory

java.lang.Object
net.sf.jasperreports.engine.query.AbstractQueryExecuterFactory
net.sf.jasperreports.engine.query.JRJpaQueryExecuterFactory
All Implemented Interfaces:
JRQueryExecuterFactory, QueryExecuterFactory, Designated

public class JRJpaQueryExecuterFactory extends AbstractQueryExecuterFactory implements Designated
Java Persistence API query executer factory for EJBQL queries.

The factory creates JRJpaQueryExecuter query executers.

Author:
Marcel Overdijk (marceloverdijk@hotmail.com)
  • Field Details

    • QUERY_EXECUTER_NAME

      public static final String QUERY_EXECUTER_NAME
      See Also:
    • QUERY_LANGUAGE_EJBQL

      public static final String QUERY_LANGUAGE_EJBQL
      EJBQL query language.
      See Also:
    • PARAMETER_JPA_ENTITY_MANAGER

      public static final String PARAMETER_JPA_ENTITY_MANAGER
      Built-in parameter holding the value of the javax.persistence.EntityManager to be used for creating the query.
      See Also:
    • PARAMETER_JPA_QUERY_HINTS_MAP

      public static final String PARAMETER_JPA_QUERY_HINTS_MAP
      Built-in parameter (optional) holding the value of the query hints map. Each named/value pair will be set as query hint against the query.
      See Also:
    • PROPERTY_JPA_QUERY_PAGE_SIZE

      public static final String PROPERTY_JPA_QUERY_PAGE_SIZE
      Property specifying the number of result rows to be retrieved at once.

      Result pagination is implemented by javax.persistence.Query.setFirstResult() and javax.persistence.Query.setMaxResults().

      By default, all the rows are retrieved (no result pagination is performed).

      See Also:
    • PROPERTY_JPA_QUERY_HINT_PREFIX

      public static final String PROPERTY_JPA_QUERY_HINT_PREFIX
      Property specifying the prefix for EJBQL query hints.
      See Also:
  • Constructor Details

    • JRJpaQueryExecuterFactory

      public JRJpaQueryExecuterFactory()
  • Method Details