Class FindBySpaceKeyAndKeyHibernateQueryFactory

java.lang.Object
com.atlassian.confluence.plugins.contentproperty.hibernate2.FindBySpaceKeyAndKeyHibernateQueryFactory
All Implemented Interfaces:
HibernateContentQueryFactory

public class FindBySpaceKeyAndKeyHibernateQueryFactory extends Object implements HibernateContentQueryFactory
Hibernate 2 version of a query to find a space property by space key and key
Since:
5.9
  • Constructor Details

    • FindBySpaceKeyAndKeyHibernateQueryFactory

      public FindBySpaceKeyAndKeyHibernateQueryFactory()
  • Method Details

    • getQuery

      public javax.persistence.Query getQuery(javax.persistence.EntityManager entityManager, Object... parameters)
      Description copied from interface: HibernateContentQueryFactory
      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.
      Specified by:
      getQuery in interface HibernateContentQueryFactory
      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