When trying to use the @Index annotation from javax.persistence, Eclipse gives me this error.
@Index
javax.persistence
I\'m using it right before a java.util.
java.util.
See here: https://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#annotations-jpa-index
use this:
@Table .......,indexes = @Index(columnList = ("COLUMN_NAME"),name="CUSTOM NAME AT INDEX",unique=false) ......