[hibernate-issues] [Hibernate-JIRA] Resolved: (ANN-597) @Index doesn't create multi-column indexes
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Jul 3 13:56:52 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard resolved ANN-597.
----------------------------------
Resolution: Cannot Reproduce
It works in the unit test suite (o.h.t.a.various.Vehicule)
It has to be used at the class level, not the property level to use columnNames
> @Index doesn't create multi-column indexes
> ------------------------------------------
>
> Key: ANN-597
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-597
> Project: Hibernate Annotations
> Issue Type: Bug
> Components: binder
> Affects Versions: 3.3.0.ga
> Reporter: Christian Bauer
> Priority: Minor
>
> @org.hibernate.annotations.Index(name = "IDX_COMPONENT_PROPERTY_NAME", columnNames = {"COMPONENT_NAME", "PROPERTY_NAME"})
> create index IDX_COMPONENT_PROPERTY_NAME on PREFERENCE (PROPERTY_NAME);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list