Class FindByContentIdAndKeyHibernateQueryFactory
java.lang.Object
com.atlassian.confluence.plugins.contentproperty.hibernate2.FindByContentIdAndKeyHibernateQueryFactory
- All Implemented Interfaces:
HibernateContentQueryFactory
public class FindByContentIdAndKeyHibernateQueryFactory
extends Object
implements HibernateContentQueryFactory
Hibernate 2 version of a query to find a content property by owner id and key
- Since:
- 5.6
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FindByContentIdAndKeyHibernateQueryFactory
public FindByContentIdAndKeyHibernateQueryFactory()
-
-
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 interfaceHibernateContentQueryFactory
- Parameters:
entityManager
- the JPA entityManager in which to create the queryparameters
- the parameters to be set on the query- Returns:
- the JPA implementation of the query
-