[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-896) <bag> doesn't support NOT-NULL

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


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

Steve Ebersole closed HHH-896.
------------------------------


Closing stale resolved issues

> <bag> doesn't support NOT-NULL
> ------------------------------
>
>                 Key: HHH-896
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-896
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.5
>            Reporter: leonardo susatyo
>
> <component
>         name="checkMessages"
>         class="xxx.CheckMessages">
>     <bag
>         name="messages"
>         lazy="false"
>         cascade="all-delete-orphan">
>         <key column="claim_id" not-null="true"/>
>         <one-to-many class="xxx.CheckMessage"/>
> 	</bag>
> </component>
> <bag> setting with <key column="" not-null="true"/> is not working. the application thrown error that's also not very helpful
>     [junit] org.hibernate.MappingException: Unknown entity: xxx.checkMessages

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