File tree 1 file changed +5
-1
lines changed
spring-jdbc/src/main/java/org/springframework/jdbc/object
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2025 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.
@@ -84,14 +84,18 @@ public SqlQuery(DataSource ds, String sql) {
84
84
* Set the number of rows expected.
85
85
* <p>This can be used to ensure efficient storage of results. The
86
86
* default behavior is not to expect any specific number of rows.
87
+ * @deprecated since 6.2.4 with no replacement; it's for internal use only
87
88
*/
89
+ @ Deprecated (since = "6.2.4" , forRemoval = true )
88
90
public void setRowsExpected (int rowsExpected ) {
89
91
this .rowsExpected = rowsExpected ;
90
92
}
91
93
92
94
/**
93
95
* Get the number of rows expected.
96
+ * @deprecated since 6.2.4 with no replacement; it's for internal use only
94
97
*/
98
+ @ Deprecated (since = "6.2.4" , forRemoval = true )
95
99
public int getRowsExpected () {
96
100
return this .rowsExpected ;
97
101
}
You can’t perform that action at this time.
0 commit comments