Align RdbmsOperation javadoc with jdbcTemplate defaults
See gh-22572
This commit is contained in:
parent
b343e73eb0
commit
abb178d0d5
|
@ -118,7 +118,7 @@ public abstract class RdbmsOperation implements InitializingBean {
|
||||||
* large result sets: Setting this higher than the default value will increase
|
* large result sets: Setting this higher than the default value will increase
|
||||||
* processing speed at the cost of memory consumption; setting this lower can
|
* processing speed at the cost of memory consumption; setting this lower can
|
||||||
* avoid transferring row data that will never be read by the application.
|
* avoid transferring row data that will never be read by the application.
|
||||||
* <p>Default is 0, indicating to use the driver's default.
|
* <p>Default is -1, indicating to use the driver's default.
|
||||||
* @see org.springframework.jdbc.core.JdbcTemplate#setFetchSize
|
* @see org.springframework.jdbc.core.JdbcTemplate#setFetchSize
|
||||||
*/
|
*/
|
||||||
public void setFetchSize(int fetchSize) {
|
public void setFetchSize(int fetchSize) {
|
||||||
|
@ -129,7 +129,7 @@ public abstract class RdbmsOperation implements InitializingBean {
|
||||||
* Set the maximum number of rows for this RDBMS operation. This is important
|
* Set the maximum number of rows for this RDBMS operation. This is important
|
||||||
* for processing subsets of large result sets, avoiding to read and hold
|
* for processing subsets of large result sets, avoiding to read and hold
|
||||||
* the entire result set in the database or in the JDBC driver.
|
* the entire result set in the database or in the JDBC driver.
|
||||||
* <p>Default is 0, indicating to use the driver's default.
|
* <p>Default is -1, indicating to use the driver's default.
|
||||||
* @see org.springframework.jdbc.core.JdbcTemplate#setMaxRows
|
* @see org.springframework.jdbc.core.JdbcTemplate#setMaxRows
|
||||||
*/
|
*/
|
||||||
public void setMaxRows(int maxRows) {
|
public void setMaxRows(int maxRows) {
|
||||||
|
@ -138,7 +138,7 @@ public abstract class RdbmsOperation implements InitializingBean {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the query timeout for statements that this RDBMS operation executes.
|
* Set the query timeout for statements that this RDBMS operation executes.
|
||||||
* <p>Default is 0, indicating to use the JDBC driver's default.
|
* <p>Default is -1, indicating to use the JDBC driver's default.
|
||||||
* <p>Note: Any timeout specified here will be overridden by the remaining
|
* <p>Note: Any timeout specified here will be overridden by the remaining
|
||||||
* transaction timeout when executing within a transaction that has a
|
* transaction timeout when executing within a transaction that has a
|
||||||
* timeout specified at the transaction level.
|
* timeout specified at the transaction level.
|
||||||
|
|
Loading…
Reference in New Issue