-1

im created entities and want to create a embedded h2 database with tables and columns from this entities.

Thats my application.yml file: enter image description here

intellij logs the correct sql statements from hibernate (so it runs atleast): enter image description here

but my connected database shows empty in intellij:

enter image description here

what do i wrong?

1 Answers1

0

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.

Simon Martinelli
  • 34,053
  • 5
  • 48
  • 82
  • In springboot (default) we can overcome! Logs print (devtools!? H2 console!) a (uuid-based) jdbc url, which points exactly to the used db instance.. – xerx593 Oct 11 '22 at 12:16