When creating indexes in JPA / Hibernate, are these exactly the same?
@Table (uniqueConstraints = @UniqueConstraint (columnNames = {"series", "date"}))
And:
@Table (indexes = {@Index (name = "idx", columnList = "series, date", unique = true)})
And if not, what's the difference?