@Entity
public class DataPoint2 {
@Id
@GeneratedValue
publiclong id;
@ManyToMany( mappedBy="dataPoint2s" )
public Set<DataPoint1> dataPoint1s;
}
In that case, the index is created as expected.
I noticed that org.hibernate.annotations.Index, as I'm guessing you were referring to, didn't create the index. However, that was deprecated in HHH-7969 in favor of the JPA javax.persistence.Index.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Samuel Mendenhall, JPA's @Index usage would typically look like this:
In that case, the index is created as expected.
I noticed that org.hibernate.annotations.Index, as I'm guessing you were referring to, didn't create the index. However, that was deprecated in HHH-7969 in favor of the JPA javax.persistence.Index.