org.hibernate.annotations.Index doesn't create index on multiple columnnames

Description

@org.hibernate.annotations.Index(name="validity",columnNames={"activated","validFrom","validUntil"})

will only create an index on the first column in the list.

Environment

None

Activity

Show:
Steve Ebersole
September 7, 2010, 4:24 PM

Is it defined as part of @org.hibernate.annotations.Table?

Marc Schipperheyn
September 7, 2010, 6:45 PM

No, at field level

Marc Schipperheyn
May 8, 2013, 2:42 PM

Already part of Hibernate @Table annotation

Rejected

Assignee

Unassigned

Reporter

Marc Schipperheyn

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major