[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-818) Check if a nullable FK column is marked not-null=true

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Tue Nov 14 09:36:04 EST 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-818?page=comments#action_25286 ] 

Max Rydahl Andersen commented on HBX-818:
-----------------------------------------

any column not-null=true && db column nullable => WARN fk column not-null=false && db column not null => INFO for optimization

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




More information about the hibernate-issues mailing list