java/sql-dk/data/info/globalcode/sql/dk/example-config.xml
author František Kučera <franta-hg@frantovo.cz>
Sun, 22 Dec 2013 22:02:44 +0100
branchv_0
changeset 33 04db6ccd6c48
permissions -rw-r--r--
configuration loading from XML
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
<configuration xmlns="https://sql-dk.globalcode.info/xmlns/configuration">
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
	<!-- Database Connections: -->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
	<!--
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
	<database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
		<name>my_postgres_1</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
		<url>jdbc:postgresql://localhost:5432/database_name</url>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
		<userName>dbuser</userName>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
		<password>dbpass</password>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
	</database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
	<database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
		<name>my_mysql_1</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
		<url>jdbc:mysql://localhost:3306/database_name</url>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
		<userName>dbuser</userName>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
		<password>dbpass</password>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
	</database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
	-->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
	<!-- Output formatters: -->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
	<!--
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
	<defaultFormatter>tabular</defaultFormatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    26
		<name>tabular</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
		<class>info.globalcode.sql.dk.formatting.TabularFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    30
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    31
		<name>xml</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    32
		<class>info.globalcode.sql.dk.formatting.XmlFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    33
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    34
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    35
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    36
		<name>silent</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    37
		<class>info.globalcode.sql.dk.formatting.SilentFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
	-->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    40
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    41
</configuration>