Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.envers.entities.mapper.relation.lazy | |
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
org.hibernate.jdbc |
This package abstracts the mechanism for dispatching SQL statements
to the database, and implements interaction with JDBC.
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
Modifier and Type | Field and Description |
---|---|
static ScrollMode |
ScrollMode.FORWARD_ONLY |
static ScrollMode |
ScrollMode.SCROLL_INSENSITIVE
Note that since the Hibernate session acts as a cache, you
might need to expicitly evict objects, if you need to see
changes made by other transactions.
|
static ScrollMode |
ScrollMode.SCROLL_SENSITIVE |
Modifier and Type | Method and Description |
---|---|
boolean |
ScrollMode.lessThan(ScrollMode other) |
ScrollableResults |
Query.scroll(ScrollMode scrollMode)
Return the query results as ScrollableResults.
|
ScrollableResults |
Criteria.scroll(ScrollMode scrollMode)
Get the results as an instance of
ScrollableResults based on the
given scroll mode. |
Modifier and Type | Method and Description |
---|---|
ScrollMode |
QueryParameters.getScrollMode() |
Modifier and Type | Method and Description |
---|---|
ScrollableResults |
SessionImplementor.scroll(CriteriaImpl criteria,
ScrollMode scrollMode)
Execute a criteria query
|
void |
QueryParameters.setScrollMode(ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
ScrollableResults |
AbstractDelegateSessionImplementor.scroll(CriteriaImpl criteria,
ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
ScrollableResults |
StatelessSessionImpl.scroll(CriteriaImpl criteria,
ScrollMode scrollMode) |
ScrollableResults |
SessionImpl.scroll(CriteriaImpl criteria,
ScrollMode scrollMode) |
ScrollableResults |
SQLQueryImpl.scroll(ScrollMode scrollMode) |
ScrollableResults |
CriteriaImpl.scroll(ScrollMode scrollMode) |
ScrollableResults |
CriteriaImpl.Subcriteria.scroll(ScrollMode scrollMode) |
ScrollableResults |
QueryImpl.scroll(ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
CallableStatement |
Batcher.prepareCallableQueryStatement(String sql,
boolean scrollable,
ScrollMode scrollMode)
Get a prepared statement for use in loading / querying.
|
CallableStatement |
AbstractBatcher.prepareCallableQueryStatement(String sql,
boolean scrollable,
ScrollMode scrollMode) |
PreparedStatement |
Batcher.prepareQueryStatement(String sql,
boolean scrollable,
ScrollMode scrollMode)
Get a prepared statement for use in loading / querying.
|
PreparedStatement |
AbstractBatcher.prepareQueryStatement(String sql,
boolean scrollable,
ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
ScrollableResults |
CriteriaLoader.scroll(SessionImplementor session,
ScrollMode scrollMode) |
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved