Hi all,
I am currently develop and application using object type.
Previously, when we use package type, I can define a collection type "index by ..." so that I can access the member of the collection quickly using index key.
However, when I try to convert these package to object, I unable to achieves such "easy to access" feature. Instead, I have to declare an object with key and value. Then I can declare a object as an array of the previous object. But to be able to access the specific member of the array, I have to loop thru it which is a pain.
Does any one have the same problem before and have a solution? Any help is appreciated.
Sample:
create or replace type param_type as object
(
param_name Varchar2(50),
param_value vc_arr
)
/
create or replace type params_arrtype is table of param_type;
/
create or replace type request as object(
params params_arrtype ,
member procedure .....
)
/
--
VinhBuu To