Changes for page JDBC2XML Usage

Last modified by christoph_lechleitner@iteg_at on 2013-10-08 03.37:51

From version 10.1
edited by christoph_lechleitner@iteg_at
on 2013-10-08 03.37:51
Change comment: Migrated to Confluence 5.3
To version 2.1
edited by christoph_lechleitner@iteg_at
on 2012-08-03 06.12:17
Change comment: Examples of JDBC URLs, slight restructuring

Summary

Details

Page properties
Content
... ... @@ -8,7 +8,7 @@
8 8  
9 9  The following command overview only shows the absolut minimal number of options.
10 10  
11 -Usually more options are needed, especially {{code language="none"}}--user{{/code}}, {{code language="none"}}--password{{/code}}, and (Linux only, see bottom) {{code language="none"}}--jdbc-drivers{{/code}}.
11 +Usually more options are needed, especially {{code language="none"}}--user{{/code}}, {{code language="none"}}--password{{/code}}, and (Linux only) {{code language="none"}}--jdbc-drivers{{/code}}.
12 12  
13 13  See far below for a full list of options, as well as examples for JDBC URLs.
14 14  
... ... @@ -15,7 +15,7 @@
15 15  ==== {{id name="JDBC2XMLUsage-DumpingaDBtoXML"/}}Dumping a DB to XML ====
16 16  
17 17  {{code language="none"}}
18 -jdbc2xml --url <jdbc-url> --user <jdbc-user> --password <jdbc-password> --file <path-to-file>
18 +jdbc2xml --url <jdbc-url> --file <path-to-file>
19 19  {{/code}}
20 20  
21 21  See below for details and example for JDBC URLs.
... ... @@ -23,13 +23,13 @@
23 23  ==== {{id name="JDBC2XMLUsage-RestoringaDBfromXML"/}}Restoring a DB from XML ====
24 24  
25 25  {{code language="none"}}
26 -xml2jdbc --file <path-to-file> --url <jdbc-url> --user <jdbc-user> --password <jdbc-password>
26 +xml2jdbc --file <path-to-file> --url <jdbc-url>
27 27  {{/code}}
28 28  
29 29  ==== {{id name="JDBC2XMLUsage-CopyingfromoneDBtoanother"/}}Copying from one DB to another ====
30 30  
31 31  {{code language="none"}}
32 -jdbc2jdbc --from-url <jdbc-url> --to-url <jdbc-url> --user <jdbc-user> --password <jdbc-password>
32 +jdbc2jdbc --from-url <jdbc-url> --to-url <jdbc-url>
33 33  {{/code}}
34 34  
35 35  ==== {{id name="JDBC2XMLUsage-ParseandcopyanXMLfile"/}}Parse and copy an XML file ====
... ... @@ -43,13 +43,13 @@
43 43  ==== {{id name="JDBC2XMLUsage-TestDBconnectionandserverstatus"/}}Test DB connection and server status ====
44 44  
45 45  {{code language="none"}}
46 -jdbcping --url <jdbc-url> --user <jdbc-user> --password <jdbc-password>
46 +jdbcping --url <jdbc-url>
47 47  {{/code}}
48 48  
49 49  ==== {{id name="JDBC2XMLUsage-ExtractpartsofaDB"/}}Extract parts of a DB ====
50 50  
51 51  {{code language="none"}}
52 -jdbcextr --url <jdbc-url> --user <jdbc-user> --password <jdbc-password> --file <path-to-file>
52 +jdbcextr --url <jdbc-url> --file <path-to-file>
53 53  {{/code}}
54 54  
55 55  == {{id name="JDBC2XMLUsage-JDBCURLs"/}}JDBC URLs ==
... ... @@ -60,14 +60,12 @@
60 60  
61 61  {{code language="none"}}
62 62  # MySQL
63 -jdbc:mysql://localhost:3306/MYDATABASE?useCursorFetch=true
63 +jdbc:mysql://localhost:3306/MYDATABASE
64 64   
65 65  # MSSQL
66 66  jdbc:sqlserver://localhost:1433;databaseName=MYDATABASE;
67 67  {{/code}}
68 68  
69 -The use of cursor fetching in mysql is highly recommended in order to circumvent java heap space exceptions while dumping the content of large tables.
70 -
71 71  == {{id name="JDBC2XMLUsage-Fulllistofoptions"/}}Full list of options ==
72 72  
73 73  ==== {{id name="JDBC2XMLUsage-Databaseaccess"/}}Database access ====
... ... @@ -254,14 +254,3 @@
254 254  {{code language="none"}}
255 255  --debug-startup
256 256  {{/code}}
257 -
258 -=== {{id name="JDBC2XMLUsage-Driverpackagesandpaths,andotherBackendspecifictips"/}}Driver packages and paths, and other Backend specific tips ===
259 -
260 -See
261 -
262 -(% style="list-style-type: square;" %)
263 -* [[MySQL Tips>>doc:JDBC2XML.JDBC2XML Usage.MySQL Tips.WebHome]]
264 -* [[doc:JDBC2XML.JDBC2XML Usage.MSSQL Tips.WebHome]]
265 -* [[doc:KH.Database Tips.JDBC Snippets.WebHome]] with common JDBC URL examples
266 -
267 -
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -656781
1 +656884
URL
... ... @@ -1,1 +1,1 @@
1 -https://clazzes.atlassian.net/wiki/spaces/JDBC2XML/pages/656781/JDBC2XML Usage
1 +https://clazzes.atlassian.net/wiki/spaces/JDBC2XML/pages/656884/JDBC2XML Usage