The following comment has been added to this issue:
Author: Prasad Khandekar
Created: Fri, 19 Dec 2003 8:36 AM
Body:
Sorry I have just gone through the code and found out that it is not possible to override this settings by hibernate.cache.use_query_cache property. The correct way would be setting the name of hibernate.cache.provider_class in hibernate configuration file.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-570
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-570
Summary: EHCache Optional?
Type: Bug
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:
core
Versions:
2.1 final
Assignee:
Reporter: Prasad Khandekar
Created: Fri, 19 Dec 2003 7:45 AM
Updated: Fri, 19 Dec 2003 8:36 AM
Environment: Windows 2000, JDK 1.4, Tomcat 4.1.24, Oracle 8i
Description:
The readme.txt file from Hibernate 2.1 final source archive says that the ehcache.jar file is optional. But the default settings makes the presence of this jar file mandetory. The code in buildSettings of SettingsFactory class defaults to ehcache provider and throws an exception.
(It is possible to override this by setting use_query_cache property to false in hibernate.properties.)
Is this jar is really necessary? If yes please provide an indication for the same.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|