title: How should I use an object type in an insert DML statement?
body: <p>I have created two TYPE objects to try out OOP processing in PL/SQL.
  I tried to use my type <code>o_customers</code> in my INSERT statement, but I could not do it.</p>
  
  <p>There is a Customers table. It has same columns as <code>o_customers</code>.</p>
  
  <pre><code>create or replace type o_customers as object (
  id number,
  name varchar2(40),
  age number,
  address o_addressC,
  salary number
  );
  
  create or replace type o_addressC as object (
  mahalle varchar(30),
  apartman varchar(15),
  ilce varchar(15),
  apt_no number
  );
  
  declare 
      adres o_addressC;
      musteri o_customers;
  begin
      adres := o_addressC('selami ali mah','çınar apt',' üsküdar',19);
      musteri:= o_customers(10,'UĞUR SİNAN SAĞIROĞLU',26,adres,1000);
      insert into customers values (musteri);
  end;
  </code></pre>