BATCH-1215: rename class
This commit is contained in:
@@ -2200,13 +2200,13 @@
|
||||
database has its own strategy for providing paging support, we need to
|
||||
use a different <classname>PagingQueryProvider</classname> for each
|
||||
supported database type. There is also the
|
||||
<classname>SimpleDelegatingPagingQueryProvider</classname> that will
|
||||
<classname>SqlPagingQueryProviderFactoryBean</classname> that will
|
||||
auto-detect the database that is being used and determine the
|
||||
appropriate <classname>PagingQueryProvider</classname> implementation.
|
||||
This simplifies the configuration and is the recommended best
|
||||
practice.</para>
|
||||
|
||||
<para>The <classname>SimpleDelegatingPagingQueryProvider</classname>
|
||||
<para>The <classname>SqlPagingQueryProviderFactoryBean</classname>
|
||||
requires that you specify a select clause and a from clause. You can
|
||||
also provide an optional where clause. These clauses will be used to
|
||||
build an SQL statement combined with the required sortKey.</para>
|
||||
@@ -2223,7 +2223,7 @@
|
||||
class="org.springframework.batch.item.database.JdbcPagingItemReader">
|
||||
<property name="dataSource" ref="dataSource"/>
|
||||
<property name="queryProvider">
|
||||
<bean class="org.springframework.batch.item.database.support.SimpleDelegatingPagingQueryProvider">
|
||||
<bean class="org.springframework.batch.item.database.support.SqlPagingQueryProviderFactoryBean">
|
||||
<property name="selectClause" value="select id, name, credit"/>
|
||||
<property name="fromClause" value="from customer"/>
|
||||
<property name="whereClause" value="where status=:status"/>
|
||||
|
||||
Reference in New Issue
Block a user