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
<[EMAIL PROTECTED]> 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?
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev