You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Joe Wolf (JIRA)" <ib...@incubator.apache.org> on 2006/03/08 18:46:41 UTC

[jira] Created: (IBATIS-275) Update SqlMapClient's flushDataCache document to indicated namespace required

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


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


[jira] Commented: (IBATIS-275) Update SqlMapClient's flushDataCache document to indicated namespace required

Posted by "Sven Boden (JIRA)" <ib...@incubator.apache.org>.
    [ 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


[jira] Closed: (IBATIS-275) Update SqlMapClient's flushDataCache document to indicated namespace required

Posted by "Sven Boden (JIRA)" <ib...@incubator.apache.org>.
     [ 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