I am trying to use the H2 database from a Java application.
I created the database and its tables through the H2 Console and then I try to connect from Java using <
If you are running same app into multiple ports where app uses single database (h2), then add AUTO_SERVER=TRUE in the url as follows:
AUTO_SERVER=TRUE
jdbc:h2:file:C:/simple-commerce/price;DB_CLOSE_ON_EXIT=FALSE;AUTO_RECONNECT=TRUE;AUTO_SERVER=TRUE