Hi people, I’m using JPA Hibernate, and I have my ...
# announcements
r
Hi people, I’m using JPA Hibernate, and I have my Entity Foo and Entity Bar, both tables have status column as varchar when I first ran the app. And I could see those tables created. Then I changed the status column type to int for both tables and restart the app, only Bar table’s updated, Foo table’s disappeared I have in my local profile so I can see in the log it says create table Foo and Bar
Copy code
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=create-drop
Some posts were saying vaguely the problem is status keyword. what’s the issue?
k
wrong slack
r
It turns out I used a reserved key word as table name…
m
how is this question relevant to Kotlin?