title: Trimming whitespace from char-type columns using MyBatis
body: <p>Is there an easy way of trimming whitespace off of char-type columns when using a MyBatis XML mapper resultMap or resultType? Or do I need to write a custom type handler/add code to my JavaBean setters?</p>