cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28495] New: - Caching inoperative in modular DatabaseAction
Date Tue, 20 Apr 2004 13:17:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28495

Caching inoperative in modular DatabaseAction

           Summary: Caching inoperative in modular DatabaseAction
           Product: Cocoon 2
           Version: 2.1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: andrzej@chaeron.com


In org.apache.cocoon.acting.modular.DatabaseAction, the implemented query 
caching is inoperative.

In the processTable() method a new
LookUpKey is created for every request, and since the equals/hashKey methods are
not overriden in LookUpKey, this means that the getQuery() method will be called 
for all requests and no caching is used, since the HashMap get will always 
return null.

....Andrzej

Mime
View raw message