Fixed #20414 -- Oracle output handler

Corrected and improved patch to change the Oracle backend's handling of numbers from numbersAsStrings-based to outputtypehandler-based.