[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5406) Schema export does not consistently follow naming strategy for unique constraints

Jonathan (JIRA) noreply at atlassian.com
Thu Jul 22 20:39:38 EDT 2010


Schema export does not consistently follow naming strategy for unique constraints
---------------------------------------------------------------------------------

                 Key: HHH-5406
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5406
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.5.4
         Environment: Hibernate 3.5.4, No database needed
            Reporter: Jonathan
            Priority: Minor
         Attachments: UniqueConstraintTest.java

When performing a schema export for entities that include annotated unique constraints, Hibernate does not consistently follow the naming strategy for field names in the unique constraint. It appears that a naming strategy applies only for fields that are mapped to another class. The attached test demonstrates this.

-- 
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