Home how to disable schema-validation with jhipster
Reply: 0

how to disable schema-validation with jhipster

user711 Published in April 25, 2018, 6:10 pm

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.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.30406 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO