Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Dev List »

Re: [hibernate-dev] [Hibernate Search] Feedback on Document Field
 lazy loading

Hardy Ferentschik

2008-06-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Sorry, that was bogus. Not sure what I was thinking. I should have looked
at the code first. Of course we need the bridges in the projection case
and for loading managed objects we just need the id.

--Hardy


On Sun, 15 Jun 2008 12:01:10 +0200, Hardy Ferentschik
<hibernate@(protected):

> When using projections the proposed solution works fine. The fields we
> want to return are explicitly specified and we return 'only' EntityInfos
> anyway. So no problem there.
> The propblem comes in when we try to use document field lazy loading in
> the case where we want to return managed objects. In particulat when
> someone uses a TwoWayFieldBridge. Potentially this bridge can add
> arbitrary field names which are then not properly loaded at query time.
> Is this correct?


_______________________________________________
hibernate-dev mailing list
hibernate-dev@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-dev
©2008 gg3721.com - Jax Systems, LLC, U.S.A.