[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4450) MapKey with key as entity not working
shay (JIRA)
noreply at atlassian.com
Fri Aug 12 15:59:04 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43228#comment-43228 ]
shay commented on HHH-4450:
---------------------------
Hi,
was this ever resolved?
Shay
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list