I see. So then it starts the database when the application gets called right. Is there also a Java example for it?
Also I found that I can start the h2-browser from the command line and run a sql script from there as well, which would be perfect. Then I would only have to start it once and run the script once on the server.
But there's a strange thing happening. When I start the H2-Database from the Terminal, and then I start my application the way I did it all the time, just without the h2-browser command, the application never loads for some reason. When I try to go to localhost:9000 it just never loads the page. I have no idea why though.