We have some Hibernate getter methods annotated with both @Column and @Basic.
@Column
@Basic
We get an exception if we don\'t have the corresponding sette
You should annotate your classes with the @Entity(access = AccessType.FIELD) and annotate your attributes. This should solve your problem. The setter is the best way to support refactoring. And what's the problem with having the little setter there.
@Entity(access = AccessType.FIELD)