[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1150) Disable nullability check for joined columns

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:01:06 EDT 2011


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

Steve Ebersole closed HHH-1150.
-------------------------------


Closing stale resolved issues

> Disable nullability check for joined columns 
> ---------------------------------------------
>
>                 Key: HHH-1150
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1150
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>            Reporter: Christian Bauer
>            Priority: Trivial
>
> Given the mapping:
>     <join table="ITEM_SHIPMENT">
>         <key column="SHIPMENT_ID"/>
>         <many-to-one name="auction"
>                      column="ITEM_ID"
>                      not-null="true"
>                      unique="true"/>
>     </join>
> Throws an exception if auction is null at runtime.  Expected is that the row is not inserted into the join table if the auction is null. If it is inserted, the NOT NULL constraint on the ITEM_ID column is needed.

-- 
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