[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-818?page=co...
]
Max Rydahl Andersen commented on HBX-818:
-----------------------------------------
so basically this could be a general check that if hbm has a column not-null then warn if
the underlying column actually can have a null
Check if a nullable FK column is marked not-null=true
-----------------------------------------------------
Key: HBX-818
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-818
Project: Hibernate Tools
Type: New Feature
Components: hbmlint
Reporter: Emmanuel Bernard
marking a fk column as not-null=true allows hibernate to use an inner join, which might
lead to entity miss if the data does not enforce the not null.
--
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