On Fri, Oct 3, 2008 at 12:42 AM, Daniel Quirk
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> As I understand it NH supports polymorphic queries and allows me to
> write a query that will return  instances of classes that implement an
> interface, but AR doesn't seem to support it. I have found this
> example on the web of a possible way round the problem

AR now supports an [Import] attribute which directly supports the NH feature.

Once you've imported the interface you can use it in HqlBasedQuery etc...

j.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to