The generic entity, super class: The pojo: I try to use thoses annotations : @AttributeOverride, @Id, … but It doesn’t work. Can you help me? I want to override the attribute “id” to specify another column name and a sequence by pojo/table. What is the best way to do that? Answer Try this, instead