From 238307faec9d2f909545f97f827c994d3f2b0cd3 Mon Sep 17 00:00:00 2001 From: Christopher Ramey Date: Thu, 23 Aug 2012 03:49:26 +0000 Subject: [PATCH] Fixed indentation on README --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b46e610..a23530b 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@ documentation for more details.) `sql` is the SQL statement executed whose result is used to generate the JSON. `out` is the path for resulting JSON. Take the following example: - people.driver = net.sourceforge.jtds.jdbc.Driver - people.url = jdbc:jtds:sqlserver://myserver/db;user=sa;password=sa - people.sql = SELECT * FROM people - people.out = people.json + people.driver = net.sourceforge.jtds.jdbc.Driver + people.url = jdbc:jtds:sqlserver://myserver/db;user=sa;password=sa + people.sql = SELECT * FROM people + people.out = people.json This properties file will create a job called _people_ that will query @@ -35,7 +35,7 @@ the first time you run a new properties file against JDBC. The debug switch will give you additional warnings about things like unsupported fields (BLOBs, for example.) - java -jar jdbcjson.jar -d people.properties + java -jar jdbcjson.jar -d people.properties advanced usage @@ -46,10 +46,10 @@ properties have default values, based on the job name. The `sql` parameter defaults to `SELECT * FROM `. The `out` parameter defaults to `.json`. Thus: - mytable.url = jdbc:postgresql://localhost/mydb?user=postgres&password=postgres + mytable.url = jdbc:postgresql://localhost/mydb?user=postgres&password=postgres Is the same as: - mytable.url = jdbc:postgresql://localhost/mydb?user=postgres&password=postgres - mytable.sql = SELECT * FROM mytable - mytable.out = mytable.json + mytable.url = jdbc:postgresql://localhost/mydb?user=postgres&password=postgres + mytable.sql = SELECT * FROM mytable + mytable.out = mytable.json