Wiki source code of JDBC2XML Docker-Image

Version 1.1 by christoph_lechleitner@iteg_at on 2024-10-30 10.20:10

Show last authors
1 = {{id name="JDBC2XMLDocker-Image-JDBC2XMLDocker-ImageOverview"/}}JDBC2XML Docker-Image Overview =
2
3 A Docker-Image of JDBC2XML can be publicly pulled as [[clazzesorg/jdbc2xml>>url:https://hub.docker.com/repository/docker/clazzesorg/jdbc2xml||shape="rect"]], current tags are {{code language="none"}}1.6{{/code}} and {{code language="none"}}latest{{/code}} (as in latest stable).
4
5 This public free image only contains the free JDBC drivers for MariaDB and PostgreSQL.
6
7 To add additional JDBC drivers just map the JAR file under {{code language="none"}}/usr/lib/jdbc2xml/drivers/{{/code}} (or map them elsewhere and specify them using {{code language="none"}}--*driver{{/code}} options).
8
9 ITEG customers may request access to extended images that contain more drivers, using tags {{code language="none"}}1.6-non-free{{/code}} and {{code language="none"}}latest-non-free{{/code}}.
10
11 = {{id name="JDBC2XMLDocker-Image-Imageusageexamples"/}}Image usage examples =
12
13 Here are some basic examples for getting the jdbc2xml help text, making a connection test, and duming a database:
14
15 {{code language="none"}}
16 docker run -i -t --rm clazzesorg/jdbc2xml jdbc2xml --help
17
18 docker run -i -t --rm --network mariadb clazzesorg/jdbc2xml \
19 jdbcping --user testUser --password testPassword --url jdbc:mariadb://mariadb-server:3306/testdb
20
21 docker run -i -t --rm --network mariadb \
22 -v /tmp:/tmp:rw \
23 clazzesorg/iteggmbh/jdbc2xml \
24 jdbc2xml --user testUser --password testPassword --url jdbc:mariadb://mariadb:3306/testdb --file /tmp/testdb.xml
25
26
27 {{/code}}
28
29 (% style="letter-spacing: 0.0px;color:var(--ds-text,#333);" %)For more syntax sugre also see [[doc:JDBC2XML.JDBC2XML Usage.WebHome]].