Gerke Kok commented on Bug OGM-291

I now use the other way of making the field unique: using the @Table annotation combined with the @UniqueConstraint annotation:

@Table(name = "organizations", schema = "public", uniqueConstraints = { @UniqueConstraint(columnNames = "name", name = "uniqueOrganizationNames") })

which is more flexible (one can use multiple columns and one can specify a name of the index) and which is probably used more. But it's still a simple copy/paste mistake that would be nice to get rid of.

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