My bad, I accidentally had mixed annotations on fields and getters (with @Id on the getter, thus @Column on the field was ignored).