From: <leg...@at...> - 2003-10-20 12:03:14
|
The following comment has been added to this issue: Author: Mathias Bogaert Created: Mon, 20 Oct 2003 7:01 AM Body: Small bugfix: remove static from public static GeneralCacheAdministrator CACHE = new GeneralCacheAdministrator(); in HibernateOSCache. This will create a cache instance for each mapped class, and thus locking will work (using synchronization). --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Mon, 20 Oct 2003 6:35 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-10-20 12:54:01
|
The following comment has been added to this issue: Author: Mathias Bogaert Created: Mon, 20 Oct 2003 6:36 AM Body: To enable this cache, add <property name="hibernate.cache.provider_class">com.intrasoft.persistence.hibernate.cache.HibernateOSCacheProvider</property> to you hibernate.cfg.xml file --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Mon, 20 Oct 2003 6:35 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-10-20 15:45:22
|
The following comment has been added to this issue: Author: Mathias Bogaert Created: Mon, 20 Oct 2003 7:48 AM Body: Another bugfix; add cache.cancelUpdate(String.valueOf(key)); in the catch for NeedRefreshException before returning null. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Mon, 20 Oct 2003 6:35 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-10-21 10:11:06
|
The following comment has been added to this issue: Author: Chris Miller Created: Tue, 21 Oct 2003 3:11 AM Body: OSCache is pretty light on dependencies - the only required jar is commons-logging. Other possible dependencies are: - commons-collections. This is only used when running on JDK 1.3, and even then it is optional (although highly recommended for performance reasons). - javagroups-all.jar. This is only required when using javagroups (now jgroups) for clustering. JMS clustering can be used instead, in which case you obviously need the support of your app server or other JMS provider. I haven't had a chance to look at Hibernate recently so I can't comment on this issue much more except to say that I'll be happy to help out with any questions/problems you hit with OSCache integration. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Tue, 21 Oct 2003 1:53 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-10-22 05:07:31
|
The following comment has been added to this issue: Author: Gavin King Created: Wed, 22 Oct 2003 12:06 AM Body: Hibernate already has dependencies upon commons-logging and commons-collections and I will certainly pick up a dependency upon javagroups. So no problems there! Unfortunately, when I try to run the test suite, Hibernate hangs in EntryUpdateState.wait() ( called from Cache.getFromCache() ). Now this is probably my fault since I know nothing about configuring OSCache. Any suggestions? --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Tue, 21 Oct 2003 1:53 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-10-22 14:03:05
|
The following comment has been added to this issue: Author: Mathias Bogaert Created: Wed, 22 Oct 2003 7:53 AM Body: Every constructed cache has it's own OSCache instance. This is the same as the 'region' in JCS. For the lock, add the line from my previous comment to the catch. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Tue, 21 Oct 2003 1:53 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2003-10-23 01:23:39
|
The following comment has been added to this issue: Author: Gavin King Created: Wed, 22 Oct 2003 3:52 AM Body: Another thing: it seems that you are ignoring the cache "region" and putting everything in one cache? This is broken, if thats the case.... --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-412 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-412 Summary: OSCache support for Hibernate 2.1 Type: Improvement Status: Assigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 Assignee: Gavin King Reporter: Mathias Bogaert Created: Mon, 20 Oct 2003 6:34 AM Updated: Tue, 21 Oct 2003 1:53 AM Environment: OSCache 2.0 and Hibernate 2.1 (CVS as from yesterday) Description: Attached is an example how to integrate OpenSymphony OSCache and Hibernate's 2.1 caching system. Because of the fact that the cache is not reponsible for refreshing, the nice fail-over feature of OSCache is not used (yet). --------------------------------------------------------------------- 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 |