Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [others] in table [auth_user]; found [varchar (Types#VARCHAR)], but expec

Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [others] in table [auth_user]; found [varchar (Types#VARCHAR)], but expecting [integer (Types#INTEGER)]

This error is due to the use springdatajpa the ddl-auto configured to validate

If you say:

When the table is in the field of type varchar others, the entity class others entity is of type Integer,
type mismatch error:

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11616154.html