db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: [OJB] Issue #OJB156 - queries over two extend hierarchies doesn't work
Date Tue, 15 Apr 2003 18:03:03 GMT
hi andreas,

have you tried it with the latest from repository?
i have made some changes to getConcreteSubclasses.

jakob

Andreas Bayer wrote:

>You can view the issue detail at the following URL:
><http://scarab.werken.com/scarab/issues/id/OJB156>
>
>Type :        Defect
>Issue Id :    OJB156
>Reported by: Andreas Bayer
>             bayera - (Andreas.Bayer@gillardon.de)
>
>Details:
>
>Platform: All
>Operating system: windows 2000
>Summary: queries over two extend hierarchies doesn't work
>Description: Example:
>
>Classes A, B, C, X.
>C extends B and B extends A.
>X has a member A (base class)
>
>I stored a X with C as member.
>If I query for X with the member.id = C.id the generated
>SQL Query only searches in the table of A and B, not in C.
>
>After some changes in SQLQueryStatement (see attachment) the example works for me. It's
tested with Oracle and DB2.
>Status: New
>Priority: High
>Vote: High
>Severity: Major
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>
>  
>


Mime
View raw message