ExcelTable is an Oracle SQL interface to read Microsoft Excel files (.xlsx, .xlsm, .xlsb, .xls, .xml), ODF spreadsheet files (.ods) and flat files as external tables
The read method ExcelTable.DOM_READ is available by default but other methods
may depend on the Java classes being installed. In the Oracle Cloud, Java is
not even supported so for the calling program it may be usefull to verify
which read method is available in order to prevent run-time errors due to the
fact that the Java classes are not installed.
In addition to this Java check, it appeared that the getSheets function did not work well when Java was not installed. So conform the other functions the read method was added as a parameter (which defaults to ExcelTable.DOM_READ).
Therefore the following changes have been proposed:
adding a function isReadMethodAvailable
adding a default parameter p_method to getSheets (backwards compatible)
The read method ExcelTable.DOM_READ is available by default but other methods may depend on the Java classes being installed. In the Oracle Cloud, Java is not even supported so for the calling program it may be usefull to verify which read method is available in order to prevent run-time errors due to the fact that the Java classes are not installed.
In addition to this Java check, it appeared that the getSheets function did not work well when Java was not installed. So conform the other functions the read method was added as a parameter (which defaults to ExcelTable.DOM_READ).
Therefore the following changes have been proposed: