java/sql-dk/bash-completion.sh
author František Kučera <franta-hg@frantovo.cz>
Tue, 26 Feb 2019 18:19:49 +0100
branchv_0
changeset 236 a3ec71fa8e17
parent 81 847c83288d01
child 238 4a1864c3e867
permissions -rwxr-xr-x
Avoid reusing/rewriting the DB connection properties.
There was weird random errors while testing connection to multiple DB in parallel when one of them was meta connection to same DB connection.
Two kinds of exception: 1) missing password 2) „Passing DB password as CLI parameter is insecure!“
     1 #!/bin/bash
     2 
     3 cat \
     4 	src/info/globalcode/sql/dk/Constants.java \
     5 	src/info/globalcode/sql/dk/formatting/* \
     6 	src/info/globalcode/sql/dk/CLIParser.java \
     7 	| ../../scripts/bash_completion.pl
     8