im created entities and want to create a embedded h2 database with tables and columns from this entities.
Thats my application.yml file:
intellij logs the correct sql statements from hibernate (so it runs atleast):
but my connected database shows empty in intellij:
what do i wrong?
CodePudding user response:
You are using an im-memory database.
That means if you "connect" from the application you have a different database as when you "connect" from Intellij.
CodePudding user response:
when i check the h2 console:
and try to connect to this db:
its still empty:
CodePudding user response:
Nevermind, i found this in another stackoverflow thread: