| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected transient SessionFactoryImpl |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Query | |
| public SQLQuery | |
| protected void | |
| public SessionFactoryImplementor | getFactory()
Implements org. |
| protected HQLQueryPlan | |
| public Query | getNamedQuery(String queryName)
Implements org. |
| public Query | getNamedSQLQuery(String queryName)
Implements org. |
| protected NativeSQLQueryPlan | |
| private void | |
| public boolean | isClosed()
Implements org. |
| public List | list(NativeSQLQuerySpecification
The specification of the native SQL query to execute. spec, QueryParameters The parameters by which to perform the execution. queryParameters)Implements org. |
| public ScrollableResults | scroll(NativeSQLQuerySpecification
The specification of the native SQL query to execute. spec, QueryParameters The parameters by which to perform the execution. queryParameters)Implements org. |
| protected void |
| closed | back to summary |
|---|---|
| private boolean closed | |
| factory | back to summary |
|---|---|
| protected transient SessionFactoryImpl factory | |
| AbstractSessionImpl | back to summary |
|---|---|
| protected AbstractSessionImpl(SessionFactoryImpl factory) | |
| createQuery | back to summary |
|---|---|
| public Query createQuery(String queryString) | |
| createSQLQuery | back to summary |
|---|---|
| public SQLQuery createSQLQuery(String sql) | |
| errorIfClosed | back to summary |
|---|---|
| protected void errorIfClosed() | |
| getFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getFactory() Implements org. Doc from org. Get the creating SessionFactoryImplementor | |
| getHQLQueryPlan | back to summary |
|---|---|
| protected HQLQueryPlan getHQLQueryPlan(String query, boolean shallow) throws HibernateException | |
| getNamedQuery | back to summary |
|---|---|
| public Query getNamedQuery(String queryName) throws MappingException Implements org. Doc from org. Get a Query instance for a named query or named native SQL query | |
| getNamedSQLQuery | back to summary |
|---|---|
| public Query getNamedSQLQuery(String queryName) throws MappingException Implements org. Doc from org. Get a Query instance for a named native SQL query | |
| getNativeSQLQueryPlan | back to summary |
|---|---|
| protected NativeSQLQueryPlan getNativeSQLQueryPlan(NativeSQLQuerySpecification spec) throws HibernateException | |
| initQuery | back to summary |
|---|---|
| private void initQuery(Query query, NamedQueryDefinition nqd) | |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements org. Doc from org. Determine whether the session is closed. Provided seperately from
| |
| list | back to summary |
|---|---|
| public List Implements org. Doc from org. Execute a native SQL query, and return the results as a fully built list.
| |
| scroll | back to summary |
|---|---|
| public ScrollableResults scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters) throws HibernateException Implements org. Doc from org. Execute a native SQL query, and return the results as a scrollable result.
| |
| setClosed | back to summary |
|---|---|
| protected void setClosed() | |