-
Notifications
You must be signed in to change notification settings - Fork 378
Commit dc8195f
Deprecate methods accepting
Since both the Query and the Pageable have limit, offset and sorting information, these methods are confusing and the strategy to resolve the conflict is not clear.
Existing code using the methods got replaced.
Users of these methods should use the various findAll and findBy methods to construct Page objects as desired.
Closes #2138
Original pull request #2161 Query and Pageable returning Page.1 parent 3273572 commit dc8195f
File tree
7 files changed
+46
-7
lines changed- spring-data-jdbc/src
- main
- java/org/springframework/data/jdbc
- core
- repository/support
- kotlin/org/springframework/data/jdbc/core
- test/java/org/springframework/data/jdbc/repository
7 files changed
+46
-7
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | + | ||
233 | 234 | | |
235 | + | ||
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
280 | + | ||
278 | 281 | | |
282 | + | ||
279 | 283 | | |
280 | 284 | | |
281 | 285 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | + | ||
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| |||
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
392 | + | ||
391 | 393 | | |
392 | 394 | | |
393 | 395 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | + | ||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | - | ||
130 | - | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
138 | + | ||
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
| |||
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | + | ||
31 | + | ||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
37 | + | ||
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
142 | - | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
143 | 155 | | |
144 | 156 | | |
145 | 157 | | |
| |||
172 | 184 | | |
173 | 185 | | |
174 | 186 | | |
187 | + | ||
175 | 188 | | |
176 | - | ||
177 | - | ||
189 | + | ||
190 | + | ||
191 | + | ||
192 | + | ||
193 | + | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
178 | 198 | | |
179 | 199 | | |
180 | 200 | | |
| |||
203 | 223 | | |
204 | 224 | | |
205 | 225 | | |
226 | + | ||
206 | 227 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | + | ||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | + | ||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | - | ||
130 | + | ||
131 | + | ||
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | + | ||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
267 | - | ||
268 | + | ||
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| |||
0 commit comments