hi bruno,

could you please provide the generated sql ?

jakob

Bruno CROS schrieb:
   Hi all,

It seems there is big problem on ReportQuery.

Consider 2 classes, Class_A with property_a and Class_B with property_b.
Consider that Class_A is 1:n related  to Class_B.

Build a ReportQuery on Class_B, requesting "property_b" and "
classA.property_a". If database field names are the same in each table for
property_a and property_b, surprise, that you believe the value of
 property_b is the property_a one !!

I looked to the generated query, and, awful, aliases are wrong.

 Anyone confirms ?

OJB 1.0.4 (bug wasn't related in 1.0.1)

How many databse fields with the same name i have into my model? Too much !!

Thanks. Regards.



------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 17.02.2006


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to