[ http://issues.apache.org/jira/browse/IBATIS-275?page=all ]
Sven Boden closed IBATIS-275:
-----------------------------
Resolution: Fixed
Assign To: Sven Boden
Done
> 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
> Assignee: Sven Boden
> 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