Generate part of mybatis config automatically