ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Boden (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Closed: (IBATIS-275) Update SqlMapClient's flushDataCache document to indicated namespace required
Date Sat, 11 Mar 2006 08:54:14 GMT
     [ http://issues.apache.org/jira/browse/IBATIS-275?page=all ]
Sven Boden closed IBATIS-275:

    Resolution: Fixed
     Assign To: Sven Boden


> 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:
For more information on JIRA, see:

View raw message