Use following code to create index with your's columns:
@Entity
| @Table(name="USERS")
| @org.hibernate.annotations.Table(
| appliesTo = "USERS", indexes =
| @org.hibernate.annotations.Index(
| name = "MY_INDEX",
| columnNames = {"id3", "id", "id2" }
| )
| )
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230840#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...