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