I had similar issue where, initially, things worked fine until I did a side project and created a different schema with a usual table name "cart".
In the former schema (of the project facing similar error), "cart" table has a similar column STATUS
of type INT.
In the new schema's "cart" table, the column STATUS
is of type VARCHAR
I have since renamed tables of the new schema to avoid collisions and my project has successfully started up.
Conclusion:
'It's like' Hibernate reads the entire database and matches only a single table name to an entity, ignoring the schema (db) specified in the properties file