img
As Figure 11-3 shows, the mapper interface class has a corresponding XML file with the same name
(ContactMapper.java and ContactMapper.xml), supporting the operations on the domain object
Contact.java.
Upon the completion of all mappings, the project structure will look like the STS screen shown in
Figure 11-4.
Figure 11-4. MyBatis mapping files structure in STS
SQL Mapping XML Configuration
In the mapper XML configuration files, MyBatis provides numerous tags for performing mapping
operations. Table 11-3 highlights some of the most frequently used tags.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home