On Fri, 25 Mar 2005 08:10:31 -0500, Mike Wannamaker
<[EMAIL PROTECTED]> wrote:

> I tried your suggestion, moving the mapping above ListingInfo, no good
> same exception?  I believe it is due to the fact that OpenHouse class
> depends on ListingInfo.  If I remove this then I can query on the
> OpenHouse class.
> 
>     <class name="com.goodtobehome.core.data.OpenHouse" identity="id"
> depends="com.goodtobehome.core.data.ListingInfo" key-generator="IDENTITY">
> 
> Is there anyway to use the depends attribute but also be able to query
> against the OpenHouse objects in the database?  Through OQL that is?

My apologies for not putting two and two together in my previous
response, Mike. But the query that  you're attempting to execute
requires support for polymorphism. Castor currently does not support
polymorphism but Werner is working on it right now. In fact, it may be
complete already. See bug 1881:

http://bugzilla.exolab.org/show_bug.cgi?id=1881

Bruce 
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to