Procedure of Converting String to Enum

时间:2018-03-25 18:53:31

标签: jhipster

Since the JHipster doesn't support Enum type in the entity, I have to use the String type in an entity and replace it later. What is a good procedure of such type replacement?

My project is set up with Docker and PostgreSQL for the data repository. The front end is Augarl JS. I have run into some Liquibase errors on JHipster. And it is not fun to correct these errors.

Thanks for your advice in advance.

1 个答案:

答案 0 :(得分:0)

Either write your changes as a JHipster module or stop using JHipster. When you start working around its design choices, it's getting too painful to keep in sync manually.