Answers for "h2 database allow remote database creation"

0

H2 enabling remote database creation first

//Try this in your application.properties. It worked for me:

  spring.datasource.url=jdbc:h2:~/test
  spring.datasource.driverClassName=org.h2.Driver
  spring.datasource.username=sa
  spring.datasource.password=
  spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
Posted by: Guest on October-19-2020
0

h2 database allow remote database creation

how to access the same in-memory H2 database instance from multiple Spring projects
Posted by: Guest on December-14-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language