The same applies with custom domain objects. Example:
@Column(name = "configuration_group_key", columnDefinition = "cs_key")
private String key;
And it generates varchar(255) instead of cs_key This results in the application not been able to start anymore: Schema-validation: wrong column type encountered in column [configuration_group_key] in table [configuration_group_aud]; found cs_key (Types#DISTINCT), but expecting varchar(255) (Types#VARCHAR) |