cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Halset <hal...@pvv.ntnu.no>
Subject auto-prefetch in a toMany?
Date Mon, 22 Oct 2007 11:26:34 GMT
Hello.

We have a to-many relationship that is used all over the application.  
Each time someone goes over that to-many relationship they want to  
take a look at the next to-many relationship as well.

A <-->> B <-->> C

To make this faster, I want to prefetch the relationship from B to C  
each time someone goes from A to B.

Is this possible by just overriding A.getBs() without loosing the  
positive sides of faulting? I think I want the ToManyList to use  
prefetches in its underlying SelectQuery.

Regards,
  - Tore.

Mime
View raw message