-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: Any good Hibernate second level cache provider?
PostPosted: Wed Jan 04, 2006 9:51 am 
Regular
Regular

Joined: Wed Jul 27, 2005 2:33 am
Posts: 118
Hi,
We have a J2EE application on JBoss-3.2.3 with Hibernate-2.1.3 deployed as a MBean. We have enabled second-level cache on the hibernate object and are using JBossCache1.2 for the same. The cache-usage is "transactional". Currently, we are facing a lot of issues in case of multi user scenario related to JBossCache(pessimistic locking issues).

So, can anyone suggest any other cache provider(that can be used as "transactional") that can be used with Hibernate, in production environment?

Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 11:54 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
JBossCache and Hibernate integration has been enhanced in Hibernate 3(.1). Did you give it a try?

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 2:28 am 
Regular
Regular

Joined: Wed Jul 27, 2005 2:33 am
Posts: 118
I havent tried it out with Hibernate3. Our current requirements force us to stick to Hibernate2.1.3. JBossCache seems to work fine in a single user scenario, but when it comes to multiple user access(which is the case when the application goes into production) we are encountering a lot of issues, mainly related to cache locking


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 2:32 am 
Regular
Regular

Joined: Wed Jul 27, 2005 2:33 am
Posts: 118
Also, the application works fine in case of multi user, if i disable the second level cache(obviously, the application gets slower, though). So its not that there is some problem with the application or the way Hibernate is used in the application. Only when we enable the second level cache we start facing these issues. Disabling the second level cache also does not seem to be a option for us currently, as per the requirements.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 5:59 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Yes but the caching strategy has been enhanced in H3 to better support pessimist clustered Tx cache

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 12, 2006 8:49 am 
Regular
Regular

Joined: Wed Jul 27, 2005 2:33 am
Posts: 118
Thanks. Will try that out.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.