How to pass Arraylist of Objects to a Procedure using spring mybatis <p>I want to pass an Arraylist of Objects for e.g.</p> <pre><code>Arraylist &lt;SomeObject&gt; listOFSomeObject </code></pre> <p>Where <strong>SomeObject</strong> is having two attributes <strong>key</strong> and <strong>value</strong>.</p> <p>On DB side i have a table type of variable i.e.</p> <pre><code>create or replace type tableTypeVariable is table of SomeType; CREATE OR REPLACE TYPE SomeTypeAS OBJECT (key VARCHAR2(50),value VARCHAR2(50)) </code></pre> <p>Now i want to map my each object of type <strong>SomeObject</strong> from a <strong>listOFSomeObject</strong> to the <strong>tableTypeVariable</strong>.</p> <p>Can any body help me with that ?</p>