Handling Enums Handling Enums If you want to map an Enum , you’ll need to use either EnumTypeHandler or EnumOrdinalTypeHandler . For example, let’s say that we need to store t...
cache Using a Custom Cache cache-ref cache MyBatis includes a powerful transactional query caching feature which is very configurable and customizable. A lot of changes have b...
Mapper XML Files Mapper XML Files The true power of MyBatis is in the Mapped Statements. This is where the magic happens. For all of their power, the Mapper XML files are relati...