Hello!
I have a problem in specifying hibernate annotation for clustered index.
First I'd like to create an annotated class similar to that:
Code:
@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?
Thank you for the answer.