Type Params | Return Type | Name and description |
---|---|---|
|
Query |
createQuery(java.lang.Class type, java.lang.String alias) Creates a query instance for the give type |
Methods inherited from class | Name |
---|---|
interface Session |
attach, beginTransaction, beginTransaction, clear, clear, clearSessionProperty, contains, createQuery, delete, delete, deleteAll, disconnect, flush, getAttribute, getDatastore, getFlushMode, getMappingContext, getNativeInterface, getObjectIdentifier, getPersister, getSessionProperty, getTransaction, hasTransaction, insert, isConnected, isDirty, lock, lock, persist, persist, proxy, refresh, retrieve, retrieveAll, retrieveAll, setAttribute, setFlushMode, setSessionProperty, setSynchronizedWithTransaction, unlock, updateAll |
interface QueryCreator |
createQuery, isSchemaless |
Creates a query instance for the give type
type
- The typealias
- The alias to use in the query