3
HA-JDBC: High-Availability JDBC
4
Copyright (c) 2004-2007 Paul Ferraro
6
This library is free software; you can redistribute it and/or modify it
7
under the terms of the GNU Lesser General Public License as published by the
8
Free Software Foundation; either version 2.1 of the License, or (at your
9
option) any later version.
11
This library is distributed in the hope that it will be useful, but WITHOUT
12
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
16
You should have received a copy of the GNU Lesser General Public License
17
along with this library; if not, write to the Free Software Foundation,
18
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
Contact: ferraro@users.sourceforge.net
22
<!--DOCTYPE ha-jdbc SYSTEM "../doc/src/content/xdocs/dtd/ha-jdbc-2.0.dtd"-->
23
<!--ha-jdbc xmlns="http://ha-jdbc.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ha-jdbc.sourceforge.net ../doc/src/content/xdocs/xsd/ha-jdbc-2.0.xsd"-->
25
<sync id="passive" class="net.sf.hajdbc.sync.PassiveSynchronizationStrategy"></sync>
26
<cluster balancer="simple" default-sync="passive" meta-data-cache="none" transaction-mode="parallel">
27
<database id="database1" weight="1">
28
<driver>net.sf.hajdbc.sql.MockDriver</driver>
29
<url>jdbc:mock:database1</url>
31
<database id="database2" weight="2">
32
<driver>net.sf.hajdbc.sql.MockDriver</driver>
33
<url>jdbc:mock:database2</url>
b'\\ No newline at end of file'