[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4737) Cache the EntityKey in EntityEntry when id is non-null
Gail Badner (JIRA)
noreply at atlassian.com
Thu Dec 24 04:20:30 EST 2009
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
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list