Can you show us an example of how you would do this with straight Java
and JDBC, without MyBatis? I found the following article using Google:
http://betteratoracle.com/posts/31-passing-record-types-between-oracle-and-java.
Based on the fact that you need to use Oracle-specific Java classes -
oracle.sql instead of java.sql - my guess would be that this cannot be
done with MyBatis.
On 9/6/2012 1:08 AM, Tural Muradbeyli wrote:
> I have record type in package specification:
>
> | TYPEPayment_Capabilities IS RECORD( pp_partial_payment NUMBER(1)
> DEFAULT0, co_advance_payment NUMBER(1) DEFAULT0, dp_deposit_payment
> NUMBER(1) DEFAULT0, dr_deposit_repay NUMBER(1) DEFAULT0,
> wp_wallet_payment NUMBER(1) DEFAULT0, wr_wallet_repay NUMBER(1)
> DEFAULT0, ss_prepaid_payment NUMBER(1) DEFAULT0);
>
>
> |and function which returns this type. I use MyBatis integration with
> Spring. How to call (using MyBatis XML Mapper) this function and map
> result to POJO object?
>
--
Guy Rouillier