What are the rules for MyBatis mapping files?

The rule for MyBatis mapping files is:

  1. The element.
  2. The namespace property of the element specifies the fully qualified name of the Java interface corresponding to the mapping file.
  3. Elements contain multiple sub-elements used to define SQL statements, parameter mapping, and result mapping.
  4. Elements such as “`