cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Polymorphic queries in Cayenne
Date Tue, 10 Jan 2012 06:47:50 GMT
Hi Srini,

Any query is polymorphic in Cayenne, that is if your query fetches a given mapped class, and
such class has mapped sublcasses, the result will have all subclasses resolved correctly.
So nothing special to do about it. Just run a regular query.

Andrus

On Jan 10, 2012, at 9:37 AM, Shrinivas Dandibhotla wrote:

> Hi,
>  
> I wanted to know if Cayenne supports polymorphic queries and how to use it in Cayenne
3.0. Can you please provide an example on this if possible?
>  
> Thanks,
> Srini


Mime
View raw message