我在db中有下一个字段,使用当前实体创建
@NotNull
@Column(name = "own_amount", precision = 21, scale = 4, nullable = false)
private BigDecimal ownAmount;
Liquibase csv
id;own_amount
1;37454
错误
ERROR: column "own_amount" is of type numeric but expression is of type character varying
How to fix this
这是生成器中的一个错误,它将是fixed in this pull request。
要在下一个JHipster版本之前修复,请将string
更改为numeric
,以获取实体的XML changelog文件(在own_amount
标记中)中的loadData
字段。