title: using record types - declaration and body in package
body: <p>I have problem with my package its looks like:</p>
  
  <pre><code>create or replace
  PACKAGE pac AS
    TYPE A IS RECORD
  (
    aa VARCHAR2(255)
  );
  
   TYPE B is ARRAY(1) of A;
  
   PROCEDURE proc1( som OUT B);
  </code></pre>
  
  <p>then when I'm creating body its fails, there is problem with this record type..</p>
  
  <p>I'm doing this that way because then in java I made</p>
  
  <pre><code>call = connection.prepareCall(...);
  call.registerOutParameter(1, Types.ARRAY,...);
  call.execute();
  array = call.getArray(1);
  </code></pre>