I have a `plsql` function that returns a record type `challan_rec`.

```
create or replace package xx_bal_api as
    type challan_rec is record (
        challan_number varchar2(40),
        challan_amount number
    );

    FUNCTION get_challan(foo number) return challan_rec;
end;

create or replace package body xx_bal_api as

    FUNCTION get_challan(foo number) return challan_rec
    is
    cr challan_rec;
    begin
        cr.challan_number := '00002154215'; 
        cr.challan_amount := 2265;
        return cr;
    end get_challan;
end;

```

I want to call this function from java code and get that record type in java.
Kindly guide me how to do that.
Thanks