title: ibatis domain modelling
body: <p>I am working on the domain model for a project. I have a class named user that has a class named UserType as one of the properties. I know when I want to select all users, I will use joins to pick up all corresponding usertypes. How do I do inserts? Do I have to write a handler for userType? Or can I do something like </p>
  
  <pre><code>INSERT INTO users(... usertype_id ...) VALUES(... #{usertype.usertype_id}...)
  </code></pre>
  
  <p>Please help;</p>
  
  <p>I have spent the whole day trying to figure this out. I am using ibatis 3.0 and I am new to ibatis.</p>