-->
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.  [ 2 posts ] 
Author Message
 Post subject: Is hibernate clustering support replication to two DB server
PostPosted: Thu May 15, 2014 4:41 am 
Newbie

Joined: Thu May 15, 2014 3:36 am
Posts: 2
Hi

Is hibernate clustering support replication to two DB server?
in my current project we require clustering. same application deploy on two different domain with two DB resource.
we read about tomcat clustering. but how hibernate clustering works for replication of data. So, that two DB should be in sync.

Appreciate for help!!

Thanks in advance


Top
 Profile  
 
 Post subject: Re: Is hibernate clustering support replication to two DB server
PostPosted: Tue May 27, 2014 10:56 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Unless you use caching, using a cluster is not a problem but it's expected each application to write to the same database.
If you want to use multiple databases, you'll have to setup the databases to connect to each other and keep themselves in sync (this is usually not done, you usually want the apps to write to the single database, and then have this one possibly replicated to slaves).

Tomcat clustering is an unrelated subject.

If you use 2nd level caching, then you'll need to setup your 2nd level cache for it accordingly; explanations vary depending on the cache technology.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.