I have a mysql 5.7.20 table which has a json type column, and I use this type to do mapping, and when I "./mvnw", all works.
But when I "./mvnw package -Pprod dockerfile:build", there is an exception:
org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [abilities] in table [ability]
the exception occurred after "TESTS" phase begin, according to Gaël Marziou, the test use H2 instead of mysql, and H2 does not support json type.
so how can I generate docker image in this case? disable scheme-validation for the table? or disable test on the entity Ability? how?
Please help, very appreciated.