[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2896) unified approach for id and natural-id loading

Eric Dalquist (JIRA) noreply at atlassian.com
Tue Oct 4 16:52:22 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43955#comment-43955 ] 

Eric Dalquist commented on HHH-2896:
------------------------------------

Here is a diff of progress so far: https://github.com/edalquist/hibernate-core/compare/master...HHH-2879

The two new *LoadAccess APIs are in place
Existing load and get methods on Session are delegating to the new APIs
A new ResolveNaturalIdEvent exists as well as the corresponding listener and default impl
The current impl only does direct from DB loading of the entity id based on the natural-id, no query or session caching is done yet
Basic testing showing it working


I'd love to get a review at this point with some feedback to see if I'm on the right track here.

>  unified approach for id and natural-id loading
> -----------------------------------------------
>
>                 Key: HHH-2896
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2896
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.x
>
>         Attachments: hhh-2896_irc_discussion.txt
>
>
> A follow-on to HHH-2879 in regards to unifying the loading of entities by pk or natural-id.

--
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