[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-772?page=co...
]
Blake Martin commented on HHH-772:
----------------------------------
This is an issue for me, as well. In my case, the value is a POJO with several fields.
They're normally not null, but can be cleared by application users. If they're all
null, this issue occurs.
As a workaround, I put a dummy property on my POJO. I'm a bit irritated that I have to
waste DB space with a dummy column and pollute my POJOs to get around this buggy
behavior.
null in maps are handled inconsistently
---------------------------------------
Key: HHH-772
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-772
Project: Hibernate Core
Issue Type: Improvement
Components: core
Reporter: Max Rydahl Andersen
Fix For: 3.1 beta 1
regarding case 00004729.
group.getUsers().put("something", null);
Does not result in any insert.
Inserting "something", null manually into the underlying table and
when hibernate reads the map will have "something"->null in the map.
--
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