Skip to main content

All Questions

0 votes
1 answer
5k views

Spring+Hibernate: read/write different datasource and thousands mysql databases

I need to use separate reader/writer MySQL servers. One writer and one (or more) read replica. What is the best way to do this? I found a lot of examples: http://www.dragishak.com/?p=307 Use special ...
martin's user avatar
  • 1,787
2 votes
2 answers
3k views

MongoDB replication with Spring

I configured Spring with MongoDB on my local machine, without replication, and everything works fine. I also have a replica set that works fine. Now I tried to add the replica set, but the reads/...
Ayelet's user avatar
  • 1,743
0 votes
1 answer
1k views

how to convert a read only hibernate session to write during a transaction (Master/Slave DB)

Working with MySql replication with spring+hibernate, I have a quick question; The transactions that are opened are in read-only mode i.e pointing to slave DB. What is the best way to convert it to ...
maaz's user avatar
  • 4,503