[Glorp-development] Class hierarchy mapping & queries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Glorp-development] Class hierarchy mapping & queries

Mark Plas

Hi,

 

This mail is part of a set of glorp questions I have (see some other mails I've sent recently).

 

The question I would like to address here is:

 

Suppose I have a class hierarchy mapped in such a way that there is one table for each concrete class. When I do a query on the abstract superclass, Glorp will issue several sql statements and concatenate the results (I think). My question is: What happens if I have a query on the abstract superclass that itself contains a sub-select on another abstract superclass ? Will Glorp execute queries for every combination of concrete classes ? Are there limitations here ?

 

Thanks,

Mark