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

Christian Bauer (JIRA) noreply at atlassian.com
Thu Nov 30 07:09:04 EST 2006


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

Christian Bauer commented on ANN-470:
-------------------------------------

This has nothing to do with generating XML files. You can just throw in an XML file with some custom DDL declarations that will be used by SchemaExport. Define your UNIQUE constraints there.

If you want a trivial feature like this, implement the annotation and patch Hibernate Annotations, then submit the patch on this issue.

Downgrading.


> 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