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#4230840
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230840
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user