title: how to get userdefined sql procedure out parameter from java class
body: <p>I have one sql procedure having 3 IN and 1 OUT parameter. In which the OUT parameter has user defined datatype that means it is one type of table, 
      so I want to get this table type output from java class.
  I tried to get this by making one java class which is implemented <code>java.sql.Struct</code> and used it in one backing bean by <code>CallableStatement</code> registerOutParameter as <code>java.sql.Struct</code> type , but got errors.</p>
  
  <p>Actually the below is the situation for which I want the solution.</p>
  
  <p>In my case I want to save 500 or more records saving one by one by Java class. But I want the Oracle process instead in which if we pass some parameter for inserting the data into table then the procedure inserts all data one by one and by doing that if any error occure at any position then that record goes into one userdefined tabletype object using pipe row(). So I want to get the userdefined tabletype object using java class.</p>
  
  <p>Do you have any idea for this type of problem?</p>