Gavin,
Thanks for your response.
gavin wrote:
This is a problem much better solved at the JDBC level.
That is the direction I'm leaning in. I'm not entirely comfortable with trying to use Sessions from two different Factories - while I think it would work most of the time the edge cases seem overly problematic.
I may just recommend that we use a replicated databse, but only as a hot backup. It's rapidly becoming clear that there is a good reason that master-master replication is a feature available mostly in commercial products - its not an easy problem to solve.
One last thing, do you have any warnings agaisnt using C-JDBC in conjunction with Hibernate? As far as I can tell a setup like this should work fine.
Thanks again.
J.