Use hibernateUseQueryCache to enable/disable the query cache.
-------------------------------------------------------------

         Key: HIB-216
         URL: http://jira.andromda.org/browse/HIB-216
     Project: Hibernate Cartridge
        Type: Bug

    Versions: 3.1, 3.2-RC1    
    Reporter: Erik Kimmel
 Assigned to: Carlos Cuenca 
    Priority: Minor


The property hibernateUseQueryCache isn't used to parameterize the hibernate 
query cache. The solution is simply to replace

#if ($stringUtils.isNotBlank($hibernateEnableCache))
        <property 
name="hibernate.cache.use_query_cache">$hibernateEnableCache</property>
#end

by

#if ($stringUtils.isNotBlank($hibernateEnableCache))
        <property 
name="hibernate.cache.use_query_cache">$hibernateUseQueryCache</property>
#end

in hibernate.cfg.xml.vsl from the Hibernate cartiridge.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

Reply via email to