I want to create an annotated class similar to that:
@Entity
@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class SeriesMonitoringPointsTable {
@Id
@Column(name = ID, nullable = false)
private Long id;
public void setId( Long id ) {
this.id = id;
}
}
In this class I would like to create an Id column as clustered index. Is such thing possible with annotations or hibernate at all?