Skip to content

Commit 96cd441

Browse files
committed
Merge branch '5.1.x'
2 parents e3a9826 + 78bdb58 commit 96cd441

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/object/RdbmsOperation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -118,7 +118,7 @@ public void setDataSource(DataSource dataSource) {
118118
* large result sets: Setting this higher than the default value will increase
119119
* processing speed at the cost of memory consumption; setting this lower can
120120
* avoid transferring row data that will never be read by the application.
121-
* <p>Default is 0, indicating to use the driver's default.
121+
* <p>Default is -1, indicating to use the driver's default.
122122
* @see org.springframework.jdbc.core.JdbcTemplate#setFetchSize
123123
*/
124124
public void setFetchSize(int fetchSize) {
@@ -129,7 +129,7 @@ public void setFetchSize(int fetchSize) {
129129
* Set the maximum number of rows for this RDBMS operation. This is important
130130
* for processing subsets of large result sets, avoiding to read and hold
131131
* the entire result set in the database or in the JDBC driver.
132-
* <p>Default is 0, indicating to use the driver's default.
132+
* <p>Default is -1, indicating to use the driver's default.
133133
* @see org.springframework.jdbc.core.JdbcTemplate#setMaxRows
134134
*/
135135
public void setMaxRows(int maxRows) {
@@ -138,7 +138,7 @@ public void setMaxRows(int maxRows) {
138138

139139
/**
140140
* Set the query timeout for statements that this RDBMS operation executes.
141-
* <p>Default is 0, indicating to use the JDBC driver's default.
141+
* <p>Default is -1, indicating to use the JDBC driver's default.
142142
* <p>Note: Any timeout specified here will be overridden by the remaining
143143
* transaction timeout when executing within a transaction that has a
144144
* timeout specified at the transaction level.

0 commit comments

Comments
 (0)