[ http://issues.apache.org/jira/browse/IBATIS-73?page=comments#action_62475 ] Brandon Goodin commented on IBATIS-73: --------------------------------------
I'm wondering if we should expand the use of "settings" in the sqlmap config. Maybe allow it to have a <property name="..." value="..."/> similar to our pool configurations. This would allow for the setting of arbitrary global properties so that things like the ehcache can have it's own TypeFactory specified (for Spring usage). The settings can be looked up during parsing and set in the CacheModel. For example <settings [...]> <property name="CacheModel.ehCacheTypeFactory" value="my.custom.typefactory.for.ehcache.MyClass"/> </settings> The cacheModel could have a Map on it that stores anything with the "CacheModel." in it. Anything that has the CacheModel available to it would also have any global values set in the sql-map-config in the <settings><property/></settings> tag. Further thoughts? > EHCache for iBatis > ------------------ > > Key: IBATIS-73 > URL: http://issues.apache.org/jira/browse/IBATIS-73 > Project: iBatis for Java > Type: New Feature > Components: SQL Maps > Versions: 2.0.9 > Reporter: Ales Justin > Attachments: ehcache_patch.zip, ehcache_patch_2.zip > > I have written a EHCache (http://ehcache.sourceforge.net/) implementation of > CacheController. > If there is any interest for this patch, I can send it or put it somewhere. > Rgds, Ales -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira