Hi

I have a mapped object A  with a foreign key to mapped object B.

I need to display the information (A+B) in a table. The not so smart way
is to first query on the As and then for each A, get the B. This
results in n+1 selects.

Is it possible to ask Mapper, when querying for the As, that it should
join with Bs table to fetch the B at the same time (ie the equivalent of
join fetching in Hibernate)? 

/Jeppe


 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to