public interface HibernateContentQueryFactory
Modifier and Type | Method and Description |
---|---|
default javax.persistence.Query |
getQuery(javax.persistence.EntityManager entityManager,
Object... parameters)
Get the JPA implementation of the query this factory wishes to generate.
|
default net.sf.hibernate.Query |
getQuery(net.sf.hibernate.Session session,
Object... parameters)
Deprecated.
since 6.1.0 this method will be removed shortly, consider implementing the JPA overload
of getQuery as an alternative
|
@Deprecated default net.sf.hibernate.Query getQuery(net.sf.hibernate.Session session, Object... parameters) throws net.sf.hibernate.HibernateException
session
- the hibernate session in which to create the queryparameters
- the parameters to be set on the querynet.sf.hibernate.HibernateException
default javax.persistence.Query getQuery(javax.persistence.EntityManager entityManager, Object... parameters) throws javax.persistence.PersistenceException
entityManager
- the JPA entityManager in which to create the queryparameters
- the parameters to be set on the queryjavax.persistence.PersistenceException
Copyright © 2003–2020 Atlassian. All rights reserved.