[ http://issues.apache.org/jira/browse/IBATIS-73?page=comments#action_62485 ] Brandon Goodin commented on IBATIS-73: --------------------------------------
After thinking about it a bit. Maybe it would be more appropriate to add a new tag to the sqlMapConfig called <globalCacheModel> that only has <property> tags contained within it. That allows us to avoid the annoying "CacheModel." parsing on <setting> properties. All i'll have to do is add a new Nodelet and a few other things. Then I can pass the property reference from the globalCacheModel into the individual CacheModels. If we agree on this... i'll go to it. ex. ---- sql-map-config.xml ---- ... <globalCacheModel> <property name="ehcacheConfigXml" value="com/foo/ehcache/config.xml"/> <property name="typeFactory" value="com.foo.ehcache.MyTypeFactory"/> </globalCacheModel> ... > 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
