-->
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 read/write to Master/Slave database
PostPosted: Sat Aug 12, 2006 3:33 am 
Newbie

Joined: Sat Aug 12, 2006 3:20 am
Posts: 4
Hi!

The MySQL's JDBC allows us to write to the master database and read from multiple slave databases, see Using Master/Slave Replication with ReplicationConnection.

What are the configuration needs to be done so that the Hibernate will load objects from the slave database and when save, it will save to the master database? Or this will be taking care automatically?

Appreciate if you can point me to any good resources about MySQL's replication in Hibernate!

Thank you!


Top
 Profile  
 
 Post subject: Load balancing across MySQL servers using JDBC
PostPosted: Mon Aug 14, 2006 3:08 am 
Newbie

Joined: Sat Aug 12, 2006 3:20 am
Posts: 4
Check out the post and comments at Load balancing across MySQL servers using JDBC by Todd Huss.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 11:11 am 
Newbie

Joined: Thu Aug 17, 2006 12:25 pm
Posts: 1
great link! im interested in this as well. Thanks for the lead! Does anyone have any further information on this topic?


Top
 Profile  
 
 Post subject: Re: Hibernate read/write to Master/Slave database
PostPosted: Tue Mar 02, 2010 8:31 am 
Beginner
Beginner

Joined: Mon Oct 27, 2008 6:26 am
Posts: 36
Is ReplicationConnection available to use in latest hibernate?


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.