There is no way to specify names for unique or check constraints
----------------------------------------------------------------
Key: HCANN-47
URL:
https://hibernate.onjira.com/browse/HCANN-47
Project: Hibernate Commons Annotations
Issue Type: Improvement
Affects Versions: 3.1.0.GA
Environment: hibernate-core-3.3.2.GA, Oracle 11gR2
Reporter: Facundo Chambó
There is no way to specify names for unique constraints.
For example, there is no way to specify a name for this constraint:
@Column(unique=true)
private String columnA;
A way to solve this problem is to add a "name" attribute to @UniqueConstraint
annotation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira