Dashboard > iBATIS DataMapper > 2006 > February > 21 > How can I enable the caching feature of iBATIS?
How can I enable the caching feature of iBATIS?
Added by Yusuf Sutarko, last edited by Yusuf Sutarko on Feb 21, 2006
Labels: 
(None)

Apparently, iBATIS doesn't enable caching by default (although in the SqlMaps documentation said it's enabled by default)

Here's what you need to do:

  • Open your SqlMapConfig.xml file and add cacheModelsEnabled="true" in the <settings> tag, for example:

            <settings
                cacheModelsEnabled="true"
                ...
            />


Site running on a free Atlassian Confluence Open Source Project License granted to OSS. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators