[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-7235) Support null NaturalId values in loadEntityIdByNaturalId query

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Apr 23 14:30:48 EDT 2012


     [ https://hibernate.onjira.com/browse/HHH-7235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-7235:
--------------------------------

    Pull Requests: https://github.com/hibernate/hibernate-orm/pull/303  (was: https://github.com/hibernate/hibernate-orm/pull/303)
         Assignee: Steve Ebersole

> Support null NaturalId values in loadEntityIdByNaturalId query
> --------------------------------------------------------------
>
>                 Key: HHH-7235
>                 URL: https://hibernate.onjira.com/browse/HHH-7235
>             Project: Hibernate ORM
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 4.1.0, 4.1.1, 4.1.2
>            Reporter: Guenther Demetz
>            Assignee: Steve Ebersole
>              Labels: naturalId
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> As it is allowed to persist and commit null naturalId values (for example null String values),
> it would also be nice to can sucessful lookup for those values.
> Currently the where-clause of the lookup-query does not consider the eventuality of null values, which in sql require an extra handling (using 'is' keyword instead of '=' sign).
> The needed code change is simple, see pull request.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list