Spring Boot - H2 Database - Table not found error fix.

preview_player
Показать описание
I hope it wil help :)
Рекомендации по теме
Комментарии
Автор

After two hours getting this error and not knowing why I found this video and solved it. Thanks a lot man!

MiguelAngelSalvadorRodriguez
Автор

After 10 hours of searching for a solution I came upon your video. Your my lord and savior i cant thank you enough <3

ognjen
Автор

Filip your existence is a gift of god. You the hero we need. You are destined for great things. Thank you.

ivannovakovic
Автор

Although the solution for my issue was not the option that was missing for you (I had that), your code uncovered what I was actually missing:
My error was 'Column <FIELDNAME> not found' -> the snippet GPT gave me was missing all @Column annotations.
Being new to H2 + Hibernate + etc. without your video I would have not figured out wtf was going on... Thanks man!!!

Blazsgl
Автор

this was super useful 👍 thank you a lot

dev.metehan
Автор

it really helped me thanks for sharing this info

orkhanibrahim
Автор

hello Bro... table is not showing in Database

Filmflash
Автор

It doesn't work for me. Maybe because I use PostgreSQL dialect or some other settings.

spring:
datasource:
driverClassName: org.h2.Driver
url: SCHEMA IF NOT EXISTS TEST;
username: sa
password: sa
jpa:
true
database-platform:
show-sql: true
properties:
hibernate:
format_sql: true
hibernate:
ddl-auto: create-drop

anton_gavrilov