I use springboot 2.6 and postgres 15 and hibernate 5.7 I use database Generate persistence Mapping to make entity from database schema; When I run application with this config:
spring.jpa.hibernate.ddl-auto=validate
table properties name not work. for example this is my field:
@Basic
@Column(name = "isEnabled", nullable = false)
private boolean isEnabled;
When I run applicataion get this error:
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [is_enabled] in table [analytics]