[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4277) Map key column is included in the PK but is not forced not-null

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Jul 7 11:07:54 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42806#action_42806 ] 

Emmanuel Bernard commented on HHH-4277:
---------------------------------------

some database support null keys
Same for Map<K,V> in Java

Note sure it's the right approach. Ideally we should detect the underlying DB and act upon it

> Map key column is included in the PK but is not forced not-null
> ---------------------------------------------------------------
>
>                 Key: HHH-4277
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4277
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: annotations
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>         Attachments: ANN-777.diff
>
>
> I think forcing not-null is the right approach. This needs some investigation though

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