db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Bayer <Andreas.Ba...@gillardon.de>
Subject [OJB] Issue #OJB156 - queries over two extend hierarchies doesn't work
Date Tue, 15 Apr 2003 11:43:59 GMT
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


Mime
View raw message