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

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


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Haken updated HHH-5247:
---------------------------

    Attachment: validation_v2.patch

Oops, fixed bug in previous attachment.

> 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, validation_v2.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