title: ibatis inserting parent/child relationship
body: <p>I have the classic setup</p>
  
  <pre><code>public class Parent {
          String name;
          Collection&lt;Child&gt; children;
  
      private class child{
        string name;
      }
  }
  </code></pre>
  
  <p>now I want to insert parent attributes first in the parent table and than get the id and finally store child records.whats the best way to achieve the same in ibatis?</p>