Typehandler != null is checked in resultMappings