You need to add <cache/>
element to mapping.
Storing static table data as a collection in myBatis
-
03-07-2022 - |
Вопрос
I am using myBatis for my ORM frameowrk.I need to load the data of a static table(for eg country table) into memory and be able to use whenever needed by other business objects.Is there any effective way to carry out this in myBatis ?
Решение
Не связан с StackOverflow