xml/config.xml
author František Kučera <franta-hg@frantovo.cz>
Sat, 16 May 2015 23:58:06 +0200
branchv_0
changeset 191 862d0a8747ac
parent 190 3d4d378adc10
child 198 03d8492e2ca8
permissions -rw-r--r--
avoid NullPointerException (value = null) while duplicating to java.util.Properties
franta-hg@141
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@119
     2
<?xml-stylesheet type="text/xsl" href="config.xsl"?>
franta-hg@33
     3
<configuration xmlns="https://sql-dk.globalcode.info/xmlns/configuration">
franta-hg@33
     4
	
franta-hg@33
     5
	<!-- Database Connections: -->
franta-hg@33
     6
	<!--
franta-hg@33
     7
	<database>
franta-hg@33
     8
		<name>my_postgres_1</name>
franta-hg@33
     9
		<url>jdbc:postgresql://localhost:5432/database_name</url>
franta-hg@33
    10
		<userName>dbuser</userName>
franta-hg@33
    11
		<password>dbpass</password>
franta-hg@33
    12
	</database>
franta-hg@33
    13
	
franta-hg@33
    14
	<database>
franta-hg@33
    15
		<name>my_mysql_1</name>
franta-hg@33
    16
		<url>jdbc:mysql://localhost:3306/database_name</url>
franta-hg@33
    17
		<userName>dbuser</userName>
franta-hg@33
    18
		<password>dbpass</password>
franta-hg@33
    19
	</database>
franta-hg@172
    20
	
franta-hg@172
    21
	<database>
franta-hg@172
    22
		<name>loopback</name>
franta-hg@172
    23
		<url>jdbc:loopback://</url>
franta-hg@172
    24
	</database>
franta-hg@33
    25
	-->
franta-hg@33
    26
	
franta-hg@33
    27
	<!-- Output formatters: -->
franta-hg@33
    28
	<!--
franta-hg@33
    29
	<defaultFormatter>tabular</defaultFormatter>
franta-hg@33
    30
	
franta-hg@33
    31
	<formatter>
franta-hg@33
    32
		<name>tabular</name>
franta-hg@33
    33
		<class>info.globalcode.sql.dk.formatting.TabularFormatter</class>
franta-hg@33
    34
	</formatter>
franta-hg@33
    35
	
franta-hg@33
    36
	<formatter>
franta-hg@33
    37
		<name>xml</name>
franta-hg@33
    38
		<class>info.globalcode.sql.dk.formatting.XmlFormatter</class>
franta-hg@33
    39
	</formatter>
franta-hg@33
    40
	
franta-hg@33
    41
	<formatter>
franta-hg@33
    42
		<name>silent</name>
franta-hg@33
    43
		<class>info.globalcode.sql.dk.formatting.SilentFormatter</class>
franta-hg@33
    44
	</formatter>
franta-hg@33
    45
	-->
franta-hg@33
    46
	
franta-hg@33
    47
</configuration>