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: [BUG] on path expression for multiple joined table when load subclasses
Date Sat, 03 Jul 2004 18:29:44 GMT
hi clovis,


you'll have to define the required fields in the subclasses as well (there's no 
inheritance of descriptors in ojb). if the fields are not found ojb uses the 
unresolved criteria.

jakob

Clóvis Wichoski wrote:

> Hi, Jakob
> 
> There are more one trouble,
> 
> if I query the a Superclass like this
> 
> QueryByCriteria from class myproject.Person where 
> [myAddress.myCity.description = CITYX]
> 
> This  query works in superclass, and when OJB attempts to load the 
> Subclasses, the myAddress.myCity.description appears on SQL for the 
> subclasses that don't had this fields declared, generating a wrong SQL.
> 
> I will try to find this bug now, but you have any tip that I can start.
> 
> TIA
> 
> Clóvis
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
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