I have an abstract class annotated as @MappedSuperclass
. This class defines attributes common to all JPA classes such as Id
.
I would like to override Id
attribute mapping defined in the abstract super class and assign a sequence generator. Is it possible to override Id
attribute mapping and assign a different sequence generator in JPA 2.x?