Which of the following method retrieves the element values of the array into a Datum[] array?

Options
- getArray()
- getOracleArray()
- get()
- None of the Above


CORRECT ANSWER : getOracleArray()

Discussion Board
getOracleArray method

The getOracleArray method is an Oracle-specific extension that is not specified in the standard Array interface. The getOracleArray method retrieves the element values of the array into a Datum[] array. The elements are of the oracle.sql.* data type corresponding to the SQL type of the data in the original array. For an array of structured objects, this method will use oracle.sql.STRUCT instances for the elements. Oracle also provides a getOracleArray(index,count) method to get a subset of the array elements.

Prajakta Pandit 02-20-2017 01:42 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement