[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4414?page=c...
]
Manuel Darveau commented on HHH-4414:
-------------------------------------
No that UniqueConstraint does have a "name" attribute should this feature be
looked again?
I checked the code and it looks as simple as modifying
org.hibernate.mapping.UniqueKey.sqlConstraintString. Maybe we need to add a method on
dialect to check if constraint naming is supported (isUniqueConstraintNamingSupported?).
However, I am not sure if all vendors place the constraint name between the
"unique" and the "( column1, column2, ...)".
enrich UniqueConstraint with property name
------------------------------------------
Key: HHH-4414
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4414
Project: Hibernate Core
Issue Type: Improvement
Components: annotations
Reporter: Steve Ebersole
Priority: Trivial
To be able in annotation to give uniqueConstraint exact database name, there is need to
add field java.lang.String name(); to annotation class UniqueConstraint in similar way
like in index is.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira