Interface HibernateContentQueryFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.persistence.Query getQuery​(javax.persistence.EntityManager entityManager, Object... parameters)
      Get the JPA implementation of the query this factory wishes to generate.
    • Method Detail

      • getQuery

        javax.persistence.Query getQuery​(javax.persistence.EntityManager entityManager,
                                         Object... parameters)
                                  throws javax.persistence.PersistenceException
        Get the JPA implementation of the query this factory wishes to generate. Any parameters for the query should be set, as should whether the query is cacheable or not. Limits (offset/max results) will be set by the DAO.
        Parameters:
        entityManager - the JPA entityManager in which to create the query
        parameters - the parameters to be set on the query
        Returns:
        the JPA implementation of the query
        Throws:
        javax.persistence.PersistenceException
        Since:
        6.1.0