Вопрос

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 ?

Это было полезно?

Решение

You need to add <cache/> element to mapping.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top