Although the version is old, its core and version 2.0 are similar, worth reference.
download link:
http://prdownloads.sourceforge.net/ibatisdb/ibatis_db_guide_cn-1-2-9.pdf?download