1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -118,7 +118,7 @@ public void setDataSource(DataSource dataSource) {
118
118
* large result sets: Setting this higher than the default value will increase
119
119
* processing speed at the cost of memory consumption; setting this lower can
120
120
* 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.
122
122
* @see org.springframework.jdbc.core.JdbcTemplate#setFetchSize
123
123
*/
124
124
public void setFetchSize (int fetchSize ) {
@@ -129,7 +129,7 @@ public void setFetchSize(int fetchSize) {
129
129
* Set the maximum number of rows for this RDBMS operation. This is important
130
130
* for processing subsets of large result sets, avoiding to read and hold
131
131
* 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.
133
133
* @see org.springframework.jdbc.core.JdbcTemplate#setMaxRows
134
134
*/
135
135
public void setMaxRows (int maxRows ) {
@@ -138,7 +138,7 @@ public void setMaxRows(int maxRows) {
138
138
139
139
/**
140
140
* 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.
142
142
* <p>Note: Any timeout specified here will be overridden by the remaining
143
143
* transaction timeout when executing within a transaction that has a
144
144
* timeout specified at the transaction level.
0 commit comments