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

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


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

Steve Ebersole resolved HHH-7235.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.3

> 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
>             Fix For: 4.1.3
>
>   Original Estimate: 0.5h
>          Time Spent: 56m
>  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