title: Is there a way to not implement Serializeble for MyBatis domain objects
body: <p>If I want to map sql to some object in MyBatis, then I need to implement Serializable interface.
  Like this:</p>
  
  <pre><code>public class User implements Serializable {
  </code></pre>
  
  <p>Otherwise it throws NotSerializableException when I try to map sql results to this object.</p>
  
  <p>Is there any way to congigure MyBatis such that it allows me to have domain object not implementing Serializable?</p>