xml/config.xml
author František Kučera <franta-hg@frantovo.cz>
Fri, 04 Apr 2014 23:40:28 +0200
branchv_0
changeset 171 701ec4db43fb
parent 141 ecd17aad1178
child 172 dec1ba8af6c5
permissions -rw-r--r--
JDBC loopback driver: first version experimental JDBC driver which does not need any real SQL database, just passes values of statement parameters as a result set. The first parameter is column count, then follows column names and then data. Example: 2 a b c d e f will result into table: a | b ----- c | d e | f

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="config.xsl"?>
<configuration xmlns="https://sql-dk.globalcode.info/xmlns/configuration">
	
	<!-- Database Connections: -->
	<!--
	<database>
		<name>my_postgres_1</name>
		<url>jdbc:postgresql://localhost:5432/database_name</url>
		<userName>dbuser</userName>
		<password>dbpass</password>
	</database>
	
	<database>
		<name>my_mysql_1</name>
		<url>jdbc:mysql://localhost:3306/database_name</url>
		<userName>dbuser</userName>
		<password>dbpass</password>
	</database>
	-->
	
	<!-- Output formatters: -->
	<!--
	<defaultFormatter>tabular</defaultFormatter>
	
	<formatter>
		<name>tabular</name>
		<class>info.globalcode.sql.dk.formatting.TabularFormatter</class>
	</formatter>
	
	<formatter>
		<name>xml</name>
		<class>info.globalcode.sql.dk.formatting.XmlFormatter</class>
	</formatter>
	
	<formatter>
		<name>silent</name>
		<class>info.globalcode.sql.dk.formatting.SilentFormatter</class>
	</formatter>
	-->
	
</configuration>