bookmark

indexing - JPA: defining an index column - Stack Overflow


Description

@org.hibernate.annotations.Table( appliesTo = "table_name", indexes = { @Index(name="single_column_index", columnNames = "col"), @Index(name="multi_column_index", columnNames = {"col1", "col2"}), } )

Preview

Tags

Users

  • @jil

Comments and Reviews