Class HibernateQuery<T>

    • Constructor Detail

      • 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