Learn a skill, do one thing should not immediately go directly to the details, but should Aerial view of the whole picture, understand its overall architecture and implementation processes.
MyBatis overall architecture
MyBatis overall architecture is divided into three, namely, support base layer, a core layer and an interface treatment layer, the layers included in the main content, as shown below;
MyBatis implementation process
Perhaps you now see both of these figures, there is no sense of their own role, we can first remember what the contents inside the map, and some of the existing knowledge linked, such as the overall structure of MySql, Oracle's overall architecture, but also it seems very similar, until we analyze source code, two maps is very useful.