Dead Programmer
Dead Programmer

Reputation: 12575

How to call PL/SQL procedure in Ibatis from java

I have written a PLSQL stored procedure , i want to call the procedure and return the resultset back to the java in a hashmap or arraylist format . I want to configure it in the xml file using Ibatis. kindly let me know how to configure in Ibatis.

Upvotes: 0

Views: 3137

Answers (1)

Enrique
Enrique

Reputation: 10117

<procedure id="yourProc" parameterClass="yourclass" resultMap="result">
    {call yourProc(#param1#,#param2#)}
</procedure>

Upvotes: 2

Related Questions