Commit a6da614
committed
refactor: drop StreamingResultSet getObject(Class) bandaid
Now that QueryJDBCAccessor.getObject(Class) provides the raw + isInstance
fallback as its base-class default, StreamingResultSet no longer needs
the catch-and-retry path that worked around accessors which threw
"Operation not supported." Collapse getObject(int, Class) to direct
dispatch and update the regression test's WHY comment to point at the
accessor base class as the load-bearing layer.
Addresses: review comment on PR #175 line 388.1 parent 2cc9e98 commit a6da614
2 files changed
Lines changed: 8 additions & 31 deletions
File tree
- jdbc-core/src
- main/java/com/salesforce/datacloud/jdbc/core
- test/java/com/salesforce/datacloud/jdbc/core
Lines changed: 3 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | 363 | | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
389 | 367 | | |
390 | 368 | | |
391 | 369 | | |
| |||
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
| |||
0 commit comments