Sets the number of dimensions for an Array/Varray type. This method is not applicable to any other UDT or complex types.
The method throws SQLException if an error occurs while attempting to set the number of dimensions for an Array/Varray type. A database specific code “9744 (ERRUDFJAVUDT) <Number of dimensions for Array/Varray could not be set>” is returned.
Syntax
void setArrayNumDimension(int num)
throws SQLException