Interface QueryProducer

All Known Subinterfaces:
EventSource, QueryProducerImplementor, Session, SessionImplementor, SharedSessionContract, SharedSessionContractImplementor, StatelessSession
All Known Implementing Classes:
AbstractSharedSessionContract, SessionDelegatorBaseImpl, SessionImpl, SessionLazyDelegator, SharedSessionDelegatorBaseImpl, StatelessSessionImpl

public interface QueryProducer
Contract for things that can produce instances of Query and NativeQuery. Implementors include Session and StatelessSession. Many operations of the interface have the same or very similar signatures to operations of EntityManager. They are declared here to allow reuse by StatelessSession.

Unlike the corresponding operations of EntityManager, operations for creating untyped instances of Query are all marked as deprecated. Clients must migrate to the use of the equivalent operations which accept a Class and return a typed Query.

  • Method Details