0
我想創建一個類似於一個註解類:休眠:如何指定聚集索引註釋
@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;
}
}
在這個類中,我想創建一個ID列作爲聚集索引。這樣的事情可能與註釋或休眠有關嗎?
謝謝,它看起來不可能。 – Tim 2010-10-12 08:17:56