Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 300763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:56:38+00:00 2026-05-12T06:56:38+00:00

Does anyone have any experience with working with DevExpress’ XPO in an environment where

  • 0

Does anyone have any experience with working with DevExpress’ XPO in an environment where the DB is replicated? From my previous question here and one on serverfault, I think it’s been decided that replication is the way to go.

The MySQL docs say that all writes need to happen on the master, and all reads have to come from the slave. This makes sense, but now it’s a matter of setting up XPO to write to the master (far away), but read from the slave (local).

I received a good response on the DevExpress forums about how it could be done, which I intend to attempt, but I’m wondering if anyone HAS done it, and any insights/gotchas/references they would have.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:56:38+00:00Added an answer on May 12, 2026 at 6:56 am

    EDIT: since you don’t like the first approach.

    here are some master-master replication links in case you haven’t seen them.
    http://forums.mysql.com/read.php?144,235807,235807
    http://code.google.com/p/mysql-master-master/
    http://www.mysqlperformanceblog.com/2007/04/05/mysql-master-master-replication-manager-released/
    http://www.howtoforge.com/mysql_master_master_replication

    Some potential wikipedia entries.
    http://en.wikipedia.org/wiki/Replication_%28computer_science%29#Database_replication
    http://en.wikipedia.org/wiki/Multi-master_replication


    Mysql Replication Solutions (Cached from google, the original link is now dead for some reason)


    Have you tried the method suggested on the DevExpress forum yet? That’s how I would do it.

    From Alian Bismark Here

    1. Create SessionA
    2. Call SessionA.Disconect() – Set ConnectionString to SessionA and call SessionA.Connect()
    3. Create SessionB
    4. Call SessionB.Disconect() – Set ConnectionString to SessionB and call SessionA.Connect()
    5. Load obects from SessionA, using XPCollection auxL = new XPCollection(SessionA)
    6. Create objects of SessionB, using B b = new B(SessionB)
    7. Assign fields from object A to object b
      8 Save object b

    this approach work well with basic objects, if you have relationships etc, you need to resolve the references of objects in session B, using the info of objects of session A.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have any experience with doing mail merge from Java on a word
Does anyone of you have any experience with switching from SQL Server 2008 to
Does anyone have any experience on getting Hibernate working with ZK? Thanks Edit: Sorry
Does anyone have any experience with doing this? I'm working on a Java decompiler
Does anyone have any experience with this particular stack? I'm working on a web
Does anyone have any experience querying FlexLM? (At a minimum) I need to be
Does anyone have any experience using PHP to send an sms via skype I
Does anyone have any experience with the following fluent config error? faultString = An
Does anyone have any experience of storing data in JavaScript across all mobile platforms
Does anyone have any experience with this sort of thing? I'm talking about applets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.