[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-470) enrich UniqueConstraint with property name

Johnny D. (JIRA) noreply at atlassian.com
Thu Nov 30 05:10:05 EST 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-470?page=comments#action_25501 ] 

Johnny D. commented on ANN-470:
-------------------------------

We are using annotations, not hbm.xml files. We don't want to generate hbm.xml files. What is wrong to have possibility to name unique constraint in similar way like it is possible witn Index?

> enrich UniqueConstraint with property name
> ------------------------------------------
>
>          Key: ANN-470
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-470
>      Project: Hibernate Annotations
>         Type: Improvement

>     Reporter: Johnny D.

>
>
> 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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list