public interface QueryAliasAwareSession extends org.hibernate.Session
Type Params | Return Type | Name and description |
---|---|---|
|
public Query |
createQuery(java.lang.Class type, java.lang.String alias) Creates a query instance for the give type |
Methods inherited from class | Name |
---|---|
interface org.hibernate.Session |
org.hibernate.Session#getStatistics(), org.hibernate.Session#byId(java.lang.Class), org.hibernate.Session#byId(java.lang.String), org.hibernate.Session#createFilter(java.lang.Object, java.lang.String), org.hibernate.Session#getReference(java.lang.Object), org.hibernate.Session#byMultipleIds(java.lang.Class), org.hibernate.Session#byMultipleIds(java.lang.String), org.hibernate.Session#byNaturalId(java.lang.Class), org.hibernate.Session#byNaturalId(java.lang.String), org.hibernate.Session#bySimpleNaturalId(java.lang.Class), org.hibernate.Session#bySimpleNaturalId(java.lang.String), org.hibernate.Session#getEnabledFilter(java.lang.String), org.hibernate.Session#createEntityGraph(java.lang.Class), org.hibernate.Session#createEntityGraph(java.lang.Class), org.hibernate.Session#createEntityGraph(java.lang.String), org.hibernate.Session#createEntityGraph(java.lang.String), org.hibernate.Session#getEntityGraph(java.lang.String), org.hibernate.Session#getEntityGraph(java.lang.String), org.hibernate.Session#getEntityGraphs(java.lang.Class), org.hibernate.Session#reconnect(java.sql.Connection), org.hibernate.Session#isFetchProfileEnabled(java.lang.String), org.hibernate.Session#enableFetchProfile(java.lang.String), org.hibernate.Session#disableFetchProfile(java.lang.String), org.hibernate.Session#getTypeHelper(), org.hibernate.Session#getLobHelper(), org.hibernate.Session#addEventListeners([Lorg.hibernate.SessionEventListener;), org.hibernate.Session#createQuery(javax.persistence.criteria.CriteriaDelete), org.hibernate.Session#createQuery(javax.persistence.criteria.CriteriaDelete), org.hibernate.Session#createQuery(java.lang.String, java.lang.Class), org.hibernate.Session#createQuery(java.lang.String, java.lang.Class), org.hibernate.Session#createQuery(javax.persistence.criteria.CriteriaQuery), org.hibernate.Session#createQuery(javax.persistence.criteria.CriteriaQuery), org.hibernate.Session#createQuery(javax.persistence.criteria.CriteriaUpdate), org.hibernate.Session#createQuery(javax.persistence.criteria.CriteriaUpdate), org.hibernate.Session#createNamedQuery(java.lang.String, java.lang.Class), org.hibernate.Session#createNamedQuery(java.lang.String, java.lang.Class), org.hibernate.Session#createSQLQuery(java.lang.String), org.hibernate.Session#createSQLQuery(java.lang.String), org.hibernate.Session#getSessionFactory(), org.hibernate.Session#getHibernateFlushMode(), org.hibernate.Session#setHibernateFlushMode(org.hibernate.FlushMode), org.hibernate.Session#cancelQuery(), org.hibernate.Session#isDefaultReadOnly(), org.hibernate.Session#setDefaultReadOnly(boolean), org.hibernate.Session#replicate(java.lang.String, java.lang.Object, org.hibernate.ReplicationMode), org.hibernate.Session#replicate(java.lang.Object, org.hibernate.ReplicationMode), org.hibernate.Session#saveOrUpdate(java.lang.String, java.lang.Object), org.hibernate.Session#saveOrUpdate(java.lang.Object), org.hibernate.Session#persist(java.lang.String, java.lang.Object), org.hibernate.Session#persist(java.lang.Object), org.hibernate.Session#buildLockRequest(org.hibernate.LockOptions), org.hibernate.Session#getCurrentLockMode(java.lang.Object), org.hibernate.Session#sessionWithOptions(), org.hibernate.Session#setFlushMode(org.hibernate.FlushMode), org.hibernate.Session#getFlushMode(), org.hibernate.Session#setCacheMode(org.hibernate.CacheMode), org.hibernate.Session#getCacheMode(), org.hibernate.Session#enableFilter(java.lang.String), org.hibernate.Session#disableFilter(java.lang.String), org.hibernate.Session#isDirty(), org.hibernate.Session#getEntityName(java.lang.Object), org.hibernate.Session#getIdentifier(java.lang.Object), org.hibernate.Session#disconnect(), org.hibernate.Session#refresh(java.lang.Object), org.hibernate.Session#refresh(java.lang.String, java.lang.Object, org.hibernate.LockOptions), org.hibernate.Session#refresh(java.lang.Object, org.hibernate.LockOptions), org.hibernate.Session#refresh(java.lang.String, java.lang.Object), org.hibernate.Session#refresh(java.lang.Object, org.hibernate.LockMode), org.hibernate.Session#lock(java.lang.Object, org.hibernate.LockMode), org.hibernate.Session#lock(java.lang.String, java.lang.Object, org.hibernate.LockMode), org.hibernate.Session#get(java.lang.String, java.io.Serializable, org.hibernate.LockMode), org.hibernate.Session#get(java.lang.Class, java.io.Serializable), org.hibernate.Session#get(java.lang.Class, java.io.Serializable, org.hibernate.LockMode), org.hibernate.Session#get(java.lang.Class, java.io.Serializable, org.hibernate.LockOptions), org.hibernate.Session#get(java.lang.String, java.io.Serializable), org.hibernate.Session#get(java.lang.String, java.io.Serializable, org.hibernate.LockOptions), org.hibernate.Session#update(java.lang.Object), org.hibernate.Session#update(java.lang.String, java.lang.Object), org.hibernate.Session#clear(), org.hibernate.Session#contains(java.lang.String, java.lang.Object), org.hibernate.Session#merge(java.lang.Object), org.hibernate.Session#merge(java.lang.String, java.lang.Object), org.hibernate.Session#load(java.lang.String, java.io.Serializable, org.hibernate.LockMode), org.hibernate.Session#load(java.lang.Class, java.io.Serializable, org.hibernate.LockOptions), org.hibernate.Session#load(java.lang.Class, java.io.Serializable, org.hibernate.LockMode), org.hibernate.Session#load(java.lang.Object, java.io.Serializable), org.hibernate.Session#load(java.lang.String, java.io.Serializable), org.hibernate.Session#load(java.lang.String, java.io.Serializable, org.hibernate.LockOptions), org.hibernate.Session#load(java.lang.Class, java.io.Serializable), org.hibernate.Session#delete(java.lang.String, java.lang.Object), org.hibernate.Session#delete(java.lang.Object), org.hibernate.Session#setReadOnly(java.lang.Object, boolean), org.hibernate.Session#save(java.lang.String, java.lang.Object), org.hibernate.Session#save(java.lang.Object), org.hibernate.Session#flush(), org.hibernate.Session#isReadOnly(java.lang.Object), org.hibernate.Session#evict(java.lang.Object), org.hibernate.Session#createQuery(java.lang.String), org.hibernate.Session#createQuery(java.lang.String), org.hibernate.Session#createQuery(java.lang.String), org.hibernate.Session#beginTransaction(), org.hibernate.Session#getTenantIdentifier(), org.hibernate.Session#getNamedQuery(java.lang.String), org.hibernate.Session#getNamedQuery(java.lang.String), org.hibernate.Session#getNamedProcedureCall(java.lang.String), org.hibernate.Session#createStoredProcedureCall(java.lang.String, [Ljava.lang.Class;), org.hibernate.Session#createStoredProcedureCall(java.lang.String), org.hibernate.Session#createStoredProcedureCall(java.lang.String, [Ljava.lang.String;), org.hibernate.Session#getTransaction(), org.hibernate.Session#getTransaction(), org.hibernate.Session#createCriteria(java.lang.String, java.lang.String), org.hibernate.Session#createCriteria(java.lang.Class, java.lang.String), org.hibernate.Session#createCriteria(java.lang.Class), org.hibernate.Session#createCriteria(java.lang.String), org.hibernate.Session#getJdbcBatchSize(), org.hibernate.Session#setJdbcBatchSize(java.lang.Integer), org.hibernate.Session#doWork(org.hibernate.jdbc.Work), org.hibernate.Session#doReturningWork(org.hibernate.jdbc.ReturningWork), org.hibernate.Session#isConnected(), org.hibernate.Session#isOpen(), org.hibernate.Session#isOpen(), org.hibernate.Session#close(), org.hibernate.Session#close(), org.hibernate.Session#close(), org.hibernate.Session#createNamedQuery(java.lang.String), org.hibernate.Session#createNamedQuery(java.lang.String), org.hibernate.Session#createNativeQuery(java.lang.String, java.lang.String), org.hibernate.Session#createNativeQuery(java.lang.String, java.lang.String), org.hibernate.Session#createNativeQuery(java.lang.String), org.hibernate.Session#createNativeQuery(java.lang.String), org.hibernate.Session#createNativeQuery(java.lang.String, java.lang.Class), org.hibernate.Session#createNativeQuery(java.lang.String, java.lang.Class), org.hibernate.Session#getNamedSQLQuery(java.lang.String), org.hibernate.Session#getNamedNativeQuery(java.lang.String), org.hibernate.Session#getLockMode(java.lang.Object), org.hibernate.Session#getReference(java.lang.Class, java.lang.Object), org.hibernate.Session#joinTransaction(), org.hibernate.Session#getCriteriaBuilder(), org.hibernate.Session#setFlushMode(javax.persistence.FlushModeType), org.hibernate.Session#createNamedStoredProcedureQuery(java.lang.String), org.hibernate.Session#createStoredProcedureQuery(java.lang.String, [Ljava.lang.String;), org.hibernate.Session#createStoredProcedureQuery(java.lang.String), org.hibernate.Session#createStoredProcedureQuery(java.lang.String, [Ljava.lang.Class;), org.hibernate.Session#isJoinedToTransaction(), org.hibernate.Session#getEntityManagerFactory(), org.hibernate.Session#getMetamodel(), org.hibernate.Session#detach(java.lang.Object), org.hibernate.Session#getDelegate(), org.hibernate.Session#refresh(java.lang.Object, javax.persistence.LockModeType, java.util.Map), org.hibernate.Session#refresh(java.lang.Object, javax.persistence.LockModeType), org.hibernate.Session#refresh(java.lang.Object, java.util.Map), org.hibernate.Session#remove(java.lang.Object), org.hibernate.Session#lock(java.lang.Object, javax.persistence.LockModeType), org.hibernate.Session#lock(java.lang.Object, javax.persistence.LockModeType, java.util.Map), org.hibernate.Session#contains(java.lang.Object), org.hibernate.Session#getProperties(), org.hibernate.Session#setProperty(java.lang.String, java.lang.Object), org.hibernate.Session#unwrap(java.lang.Class), org.hibernate.Session#find(java.lang.Class, java.lang.Object, javax.persistence.LockModeType), org.hibernate.Session#find(java.lang.Class, java.lang.Object, java.util.Map), org.hibernate.Session#find(java.lang.Class, java.lang.Object), org.hibernate.Session#find(java.lang.Class, java.lang.Object, javax.persistence.LockModeType, java.util.Map), org.hibernate.Session#getSession() |
Creates a query instance for the give type
type
- The typealias
- The alias to use in the query