I’m trying to set up a data source for a H2 embedd...
# spring
m
I’m trying to set up a data source for a H2 embedded database in a Spring project, but when I try to log in via https://localhost:8080/h2-console there’s no way I can log in as it says the DB is not created. Nevertheless when I type the properties manually in the 
application.properties
 it works 😞. Also, I’d like to insert some data into a table in that DB as soon as the app is started. I created some insert statements into a 
data.sql
 file in the 
resources
file but I nothing is inserted (edited)
stackoverflow 1
K 1
b
type which properties manually into
application.properties
?
personally i always use liquibase to manage deploying schema / data into my h2 instances
m
I think with this you see whats going on …
Copy code
logging.level:
  org.hibernate:
    SQL: DEBUG
    type.descriptor.sql.BasicBinder: TRACE