Reputation: 578
I have custom AttributeConverter
that converts CHAR(18)
column into some type.
Each time I use this type in some Entity I must add @Column(columnDefinition = "CHAR(18)")
to satisfy schema validation in Hibernate. Is there a way to have default columnDefinition
so I could skip repeating this?
Upvotes: 1
Views: 29