Class HibernateQuery<T>

Type Parameters:
T - result type
All Implemented Interfaces:
Fetchable<T>, FetchableQuery<T,JPQLQuery<T>>, FilteredClause<JPQLQuery<T>>, Query<JPQLQuery<T>>, SimpleQuery<JPQLQuery<T>>, ExtendedSubQuery<T>, Expression<T>, SubQueryExpression<T>, JPQLQuery<T>, Serializable

public class HibernateQuery<T> extends AbstractHibernateQuery<T,HibernateQuery<T>> implements JPQLQuery<T>
HibernateQuery is the default implementation of the JPQLQuery interface for Hibernate
Author:
tiwe
See Also:
  • Constructor Details

    • HibernateQuery

      public HibernateQuery()
      Creates a detached query The query can be attached via the clone method
    • HibernateQuery

      public HibernateQuery(org.hibernate.Session session)
      Creates a new Session bound query
      Parameters:
      session - session
    • HibernateQuery

      public HibernateQuery(org.hibernate.Session session, QueryMetadata metadata)
      Creates a new Session bound query
      Parameters:
      session - session
    • HibernateQuery

      public HibernateQuery(org.hibernate.Session session, JPQLTemplates templates)
      Creates a new Session bound query
      Parameters:
      session - session
      templates - templates
    • HibernateQuery

      public HibernateQuery(org.hibernate.StatelessSession session)
      Creates a new Stateless session bound query
      Parameters:
      session - session
    • HibernateQuery

      public HibernateQuery(SessionHolder session, JPQLTemplates templates)
      Creates a new Session bound query
      Parameters:
      session - session
      templates - templates
    • HibernateQuery

      public HibernateQuery(SessionHolder session, JPQLTemplates templates, QueryMetadata metadata)
      Creates a new Session bound query
      Parameters:
      session - session
      templates - templates
      metadata - query metadata
  • Method Details