I have a SpringBoot 2.0.1.RELEASE application using spring data / jpa
org.sprin
When I run into mapping mismatches between a table schema and a java entity I like to do the following.
spring.jpa.hibernate.ddl-auto=create property to application.propertiesThis will now recreate the schema based on your entity. You can then compare the created table against your old schema to see the difference, if necessary.
Warning : This will truncate the data in all tables specified as entities in your application