You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Sven Boden (JIRA)" <ib...@incubator.apache.org> on 2006/03/09 20:30:39 UTC
[jira] Commented: (IBATIS-275) Update SqlMapClient's flushDataCache
document to indicated namespace required
[ http://issues.apache.org/jira/browse/IBATIS-275?page=comments#action_12369723 ]
Sven Boden commented on IBATIS-275:
-----------------------------------
Attachments to JIRA make cache models namespace sensitive.
However this would break configurations using flushDataCache(String ...) when not namespaces are not active. So I guess we're not going to implement this. Any other ideas?
> Update SqlMapClient's flushDataCache document to indicated namespace required
> -----------------------------------------------------------------------------
>
> Key: IBATIS-275
> URL: http://issues.apache.org/jira/browse/IBATIS-275
> Project: iBatis for Java
> Type: Improvement
> Components: Documentation
> Versions: 2.1.5
> Environment: WinXP, J2SE1.4.1
> Reporter: Joe Wolf
> Attachments: SqlMapParser.java, SqlStatementParser.java
>
> SqlMapClient's flushDataCache method throws an exception if you do not prefix the cache model id with the namespace in which it is defined. For example, if I have a cacheModel with id="bob" inside an sqlMap with namespace="Foo", I must call flushDataCache("Foo.bob") instead of flushDataCache("bob"), even if I have useStatementNamespaces="false" in my SQLMapConfig's settigns. It would be nice if the javadocs of the flushDataCache indicated that the namespace was required.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira