Package | Description |
---|---|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.dialect.pagination | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
Modifier and Type | Method and Description |
---|---|
LimitHandler |
SQLServer2005Dialect.buildLimitHandler(String sql,
RowSelection selection) |
LimitHandler |
Dialect.buildLimitHandler(String sql,
RowSelection selection)
Build delegate managing LIMIT clause.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLimitHandler
Default implementation of
LimitHandler interface. |
class |
LegacyLimitHandler
Limit handler that delegates all operations to the underlying dialect.
|
class |
NoopLimitHandler
Handler not supporting query LIMIT clause.
|
class |
SQLServer2005LimitHandler
LIMIT clause handler compatible with SQL Server 2005 and later.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
LimitHelper.useLimit(LimitHandler limitHandler,
RowSelection selection) |
Modifier and Type | Method and Description |
---|---|
protected LimitHandler |
Loader.getLimitHandler(String sql,
RowSelection selection)
Build LIMIT clause handler applicable for given selection criteria.
|
Modifier and Type | Method and Description |
---|---|
protected ResultSet |
Loader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SessionImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected PreparedStatement |
Loader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SessionImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.