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