Java parallel stream
In my program I edit configurations and put CLI arguments for it to have a source, target and database variables
It has internal implementations to extract from a zip file (source) and load to target folder to report logs, its also designed load the extracted files to a database.
We change the databases to load the next database and this triggers a specific if clause that detects different databases and will perform the respective output dependent on which database e.g if "arg[n] == -s" then db = args[n + 1] // DB1
if "arg[n] == -s" then db = args[n + 1] // DB2
the arg array loops through the cli arguments to let us know where we are in the parameters cli argument
When I run it via ide it loads then when I copy the path of the java program and alongside it the same CLI Arugment into to terminal to be command line ran with a different database theres a load issue it only loads to one db but not the other db could it be a in-memory issue where the buffer or output stream?
It has internal implementations to extract from a zip file (source) and load to target folder to report logs, its also designed load the extracted files to a database.
We change the databases to load the next database and this triggers a specific if clause that detects different databases and will perform the respective output dependent on which database e.g if "arg[n] == -s" then db = args[n + 1] // DB1
if "arg[n] == -s" then db = args[n + 1] // DB2
the arg array loops through the cli arguments to let us know where we are in the parameters cli argument
When I run it via ide it loads then when I copy the path of the java program and alongside it the same CLI Arugment into to terminal to be command line ran with a different database theres a load issue it only loads to one db but not the other db could it be a in-memory issue where the buffer or output stream?