Retrocompatibility with Oracle prior to version 12 #1292
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, sadly french public hospitals are full of very old Oracle DB instances (11.2 or even lower).
The current implementation of Oracle backend makes use of
FETCH
to limit the number of retrieved rows.FETCH
has been introduced since v12.The older way to limit rows was a simple
WHERE ROWNUM <= {limit}
which still works with recent Oracle versions. IMO, the main reason to useFETCH
was to allow an offset, which is out of scope here. Then, could you turn back to theROWNUM
way please?