More info needed
Brian Hayman, October 10, 2017 - 10:27 pm UTC
Hello,
So sorry about the slow reply, I was away but am back now.
So to continue, I have dug a little further and found that when a bind variable is declared as type Array in ADF JDeveloper provides under the property inspector two attribute definitions in the "Other" section, titled ColumnType, ElemType.
1. Column Type: I defined this as a 'Table Type' in the database with the following structure.
<create or replace TYPE emp_array_table_type IS TABLE OF emp_array_ojb_type;/>
<create or replace TYPE emp_array_obj_type AS OBJECT ( EMP_ID NUMBER(9,2))/>
2. ElemType defined as oracle.jbo.domain.Array
I was thinking the conversion would be defined at this point but receive the following error.
JBO-29000 Unexpected exception caught: java.sql.SQLException msg=Fail to convert to internal representation 'xxx'
Where 'xxx' is first element in the array. So if I am declaring the table types and defining the column and its type in JDeveloper what conversion am I not making?