

You can change exactly variable names, or you can use annotation. by Robert Gravelle During the process of normalization, groups of fields that represent a distinct entity are removed from a larger and/or more central table to a separate one. If you don't want to change your table in databse, you can change your entity. Make same column names, types, length etc.
Drop table if exists mysql update#
You have set your -auto=update, so that means, when spring boot project runs, it will look at datbase, if table is not exists, it will create new table, if table exists, it will update if necessary. Password VARCHAR(255), - storing hashed passwordĬan someone guide me as to why this is happening?

Public class User = GenerationType.AUTO)Īnd my Users table in sql CREATE TABLE Users ( My issue is that when I create my user class which matches all the right columns on the Mysql setup, and run the springboot application I get: "Error executing DDL." Here is my application.properties setup -class-name=.jdbc.Driver So I have already created my database and all the tables with the appropriate columns in Mysql and connected it to springBoot.
