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

Hardy Ferentschik hibernate at ferentschik.de
Sun Jun 15 11:16:23 EDT 2008


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 at ferentschik.de> wrote:

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





More information about the hibernate-dev mailing list