[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5247) Schema validator doesn't check indices or unique keys

Ian Haken (JIRA) noreply at atlassian.com
Thu May 20 16:21:11 EDT 2010


Schema validator doesn't check indices or unique keys
-----------------------------------------------------

                 Key: HHH-5247
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5247
             Project: Hibernate Core
          Issue Type: Bug
    Affects Versions: 3.5.x
            Reporter: Ian Haken
         Attachments: validation.patch

The schema validator currently only checks that the columns in the persistence store exist and have the correct data types. I'm not sure if it's a bug or intended behavior (in which case this would be an enhancement), but the validator doesn't check that indices and unique keys also exist (with the correct names referring to the correct columns).

I've attached a patch which would add this to the validation procedure. Comments welcome.

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