]
Gail Badner updated HHH-4737:
-----------------------------
Fix Version/s: 3.5.0-Beta-3
Cache the EntityKey in EntityEntry when id is non-null
------------------------------------------------------
Key: HHH-4737
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4737
Project: Hibernate Core
Issue Type: Improvement
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.5.0-Beta-3
Attachments: HHH-4737.patch
The EntityKey can be cached in the EntityEntry when the ID is non-null. This would help
when a method already has an EntityEntry but needs an EntityKey (e.g., to look up a proxy
in the persistence context.
I'm not sure if this is really worthwhile, but I'll attach a patch that shows how
it can be implemented and where it can be used. It can also be used in some code I'm
working on for read-only proxies.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: