-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate in a cluster
PostPosted: Thu Jan 29, 2004 5:44 am 
Newbie

Joined: Sun Oct 26, 2003 4:46 pm
Posts: 16
Location: Tallinn, Estonia
Hello,

We have a SLSB (in Weblogic) that is using Hibernate underneath. Now we want to cluster that SLSB. Not for performance considerations but more for reliability concerns.

My question is: what is the simplest thing we have to change in Hibernate config to get the cluster to work properly. As peformance is not an issue right now and we do not have any experience yet, I was wondering if this could be initially accomplished without any of the third-party cluster-aware cache packages?

_________________
best regards,
erik


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 29, 2004 11:28 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
HIbernate is just like any other JDBC client. If you disable the second-level cache, it scales horizontally without any special configuration.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 29, 2004 4:41 pm 
Newbie

Joined: Sun Oct 26, 2003 4:46 pm
Posts: 16
Location: Tallinn, Estonia
If I don't specify anything in the properties, then hibernate reports at startup:
Code:
cache provider: net.sf.ehcache.hibernate.Provider

Does this mean that if I don't specify any <cache> element in my mappings then this ehcache is not used actually?

_________________
best regards,
erik


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 29, 2004 5:24 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
yes


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.