PersistentMap.readFrom does not read records which have NULL in the element
---------------------------------------------------------------------------
Key: HHH-4515
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4515
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.2.3
Reporter: Rammohan Yadavalli
Priority: Blocker
Hi,
I noticed that PersistentMap.readFrom / PersistentSet.readFrom does not add the element to
the Map/Set if the element is NULL. This is causing an issue where I have rows in the
database against and a row can contain a NULL value against a PK.
Can you please let me know what is the reasoning behind this particular behavior, or at
least let me know if it is okay to extend the PeristentMap, overload the readFrom method
and modify it to remove the null check on the element?
Instead of if ( element!=null ) map.put(index, element); just do a map.put(index,
element)?
I am running into a production issue and I appreciate a positive response instead of
"won't fix".
Please advise.
Thanks,
Ram
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira