SchemaValidator nullability check
---------------------------------
Key: HHH-3192
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3192
Project: Hibernate3
Issue Type: Patch
Affects Versions: 3.2.6
Environment: 3.2.6.ga, MySQL, SQL Sever 2000
Reporter: Ioannis Cherouvim
Priority: Trivial
Attachments: table-nullability.patch
I validate my schema with org.hibernate.tool.hbm2ddl.SchemaValidator
It works OK, but it does not check for column null/not-null constraint.
org.hibernate.mapping.Table.validateColumns only checks for column type. Checking for null
constraint would be helpful.
Here is a patch which improves this method.
--
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