[hibernate-dev] Loader redesign proposal

Emmanuel Bernard emmanuel at hibernate.org
Mon Mar 4 11:21:51 EST 2013


Yes that'd be easier. For some reason, I cannot make gradle and IntelliJ
play nice with your prototype, so I have red all over the place.


On Mon 2013-03-04  8:05, Steve Ebersole wrote:
> Btw, I should point out that I do also have a hibernate-orm branch
> now since Friday when I started working on getting that code
> integrated into orm.  That's because at this point I am happy enough
> with the walking and LoadPlan building code as far as it goes (eyes
> still welcome).
> 
> Later today I'll probably push my working branch to my fork.  I'll
> shout out when I do that, in case you'd rather look at that.
> 
> 
> On Mon 04 Mar 2013 07:33:50 AM CST, Steve Ebersole wrote:
> >Oops, did reply instead of reply-all
> >
> >
> >On 03/04/2013 07:23 AM, Steve Ebersole wrote:
> >>
> >>Personal preference I guess, but while developing major features I
> >>find it easier to keep track of my ongoing work that way
> >>
> >>On Mar 4, 2013 7:02 AM, "Emmanuel Bernard" <emmanuel at hibernate.org
> >><mailto:emmanuel at hibernate.org>> wrote:
> >>
> >>    nice, I'll have a look. If I can squeeze a bit of OGM friendliness to
> >>    the redesign, that would be a nice bonus.
> >>
> >>    By the way, any reason to create a dedicated repo instead of a
> >>    branch?
> >>    I mistakenly imported your repo in my orm repo ;)
> >>
> >>    Emmanuel
> >>
> >>    On Mon 2013-02-25 13:19, Steve Ebersole wrote:
> >>    > I believe something like the work I had in mind for
> >>    >
> >>    https://github.com/hibernate/hibernate-orm/wiki/Proposal---Loader-redesign
> >>    > is the best option for implementing JPA 2.1 "entity graph"
> >>    support into
> >>    > Hibernate.  To that end I have been working on that proposal to
> >>    see how
> >>    > quickly that could come about.
> >>    >
> >>    > Essentially the phase we need to tie in  "entity graph" support
> >>    is a
> >>    > redefinition of the current JoinWalkers.  The approach I took,
> >>    at a high
> >>    > level, is that of the visitor pattern.
> >>    >
> >>    > The work currently lives at
> >>    > https://github.com/sebersole/hibernate-loader-redesign  I'd
> >>    appreciate
> >>    > any extras eyes.
> >>    >
> >>    > Longer term I'd like the stuff that lives in the
> >>    > org.hibernate.loader.walking package to be part of the run time
> >>    > (persister) metadata, but for the moment I just use wrapping and
> >>    > delegation.
> >>    > _______________________________________________
> >>    > hibernate-dev mailing list
> >>    > hibernate-dev at lists.jboss.org
> >>    <mailto:hibernate-dev at lists.jboss.org>
> >>    > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >>
> >


More information about the hibernate-dev mailing list