I am looking for a way to programmatically start the H2 database service through java / command task.
For Windows: I can use the below command to start the service
java -jar C:/H2/h2/bin/h2-1.4.195.jar -tcpAllowOthers
From Java App, as described here: Start H2 database programmatically
Note: I utlizied the simple H2-DBManager Approach.
In both the cases, I see applications keep on running.
My expectation is: I need a way to start the H2 database programmatically and make it in run as a background process and move to the next step.
Also, I am looking for a way to embed postgres database into my ETL application and start it programmatically.