[hibernate-issues] [Hibernate-JIRA] Updated: (ANN-777) Map key column is included in the PK but is not forced not-null

Juraci Paixao Krohling (JIRA) noreply at atlassian.com
Tue Sep 23 08:12:05 EDT 2008


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

Juraci Paixao Krohling updated ANN-777:
---------------------------------------

    Attachment: ANN-777.diff

The test on org.hibernate.search.test.embedded.EmbeddedTest#testIndexedEmbeddedAndCollections can be easily adapted to reproduce this bug. Also, I the attached diff is between my local fixed version of it and the revision 15212 (current trunk revision). It passes all hsqldb tests with no regressions. Additionally, it passes the original HSEARCH test (indicating the bug was fixed). 

There are some failures in MSSQL and MYSQL, which exists with and without the fix. But please, as I don't know the ANN code that much, review this change. I may have changed in the wrong place :-) 

> Map key column is included in the PK but is not forced not-null
> ---------------------------------------------------------------
>
>                 Key: ANN-777
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-777
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>            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