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
This problem is because the table user, "user" is a reserve word, so if when you submit to register a user you get the above error. The solution has been noted in the post in a later version of this book by user https://github.com/Dieblich habuma/spring-in-action-6-samples#7
To repeat here, where I first found it, the solution is ...
<<
Spring cannot create the data-table.
I solved this issue with an annotation for the table:
import javax.persistence.Table;
... @table(name="TACO_USER")
public class User implements UserDetails {
...
This worked for me too.
The text was updated successfully, but these errors were encountered:
This problem is because the table user, "user" is a reserve word, so if when you submit to register a user you get the above error. The solution has been noted in the post in a later version of this book by user https://github.com/Dieblich
habuma/spring-in-action-6-samples#7
To repeat here, where I first found it, the solution is ...
<<
Spring cannot create the data-table.
I solved this issue with an annotation for the table:
import javax.persistence.Table;
...
@table(name="TACO_USER")
public class User implements UserDetails {
...
This worked for me too.
The text was updated successfully, but these errors were encountered: