MapKey with key as entity not working
--------------------------------------
Key: HHH-4450
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4450
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.3.2
Environment: hibernate annotations 3.4.0 , Hibernate-core 3.3.2 , Postgres
1.8.4
Reporter: shay
Priority: Blocker
Attachments: testbug.zip
when using an entity as key , map is inaccessible(NullPointerException for items) .
Its seems that when HashCode is called on the Key , the properties in key have not been
populated, which prevents the map from loading properly
Test case attached
Thank you for your help
Shay Matasaro
--
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