Address Java::JavaSql::SQLException: Missing IN or OUT parameter at index:: 3:
#1033
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.
This pull request address
Java::JavaSql::SQLException: Missing IN or OUT parameter at index:: 3:
whenoffset
andlimit
used at the same time with JRuby and Oracle 11gR2 or lower.Since rails/arel#450 needs 3 bind variables,
:a1
,:a2
and:a1
again. It is probably due to Oracle enhanced adapterJDBC implementation handles bind variables by their order, not their name.
Then we need to handle first
:a1
foroffset
and last:a1
separately.It addresses #1030 and this spec failure.