You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when you use the class /taco-cloud-sfc/src/main/java)/tacos/User.java with a h2 db, this could run into an issue with the h2-Usertable "User" like this:
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax Fehler in SQL Befehl "drop table if exists [*]user CASCADE "; erwartet "identifier"
Syntax error in SQL statement "drop table if exists [*]user CASCADE "; expected "identifier"; SQL statement:
drop table if exists user CASCADE [42001-210]
Spring cannot create the data-table.
I solved this issue with an annotation for the table:
...
@Table(name="TACO_USER")
public class User implements UserDetails {
...
This solves the issue with the h2 database and the apps starts fine.
The text was updated successfully, but these errors were encountered:
Hi,
when you use the class /taco-cloud-sfc/src/main/java)/tacos/User.java with a h2 db, this could run into an issue with the h2-Usertable "User" like this:
Spring cannot create the data-table.
I solved this issue with an annotation for the table:
This solves the issue with the h2 database and the apps starts fine.
The text was updated successfully, but these errors were encountered: