Domanda

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 ?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top