I am sorry, looks like, forgot to port the fix into JBoss-3.0.
This is currently fixed in CVS.

Sorry,
alex

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexey Yudichev
Sent: Wednesday, January 15, 2003 10:32 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jboss 3.0.5 ejbql compiler problems?


My eqbql
SELECT OBJECT(c) FROM StoreCategory c WHERE c.customer IS NULL AND
c.partnerOwner IS NULL
in jboss 3.0.5 compiles to
SELECT t0_c.id FROM storecategory t0_c WHERE (t0_c.customer IS NULL AND
t0_c.partnerOwner IS NULL) AND (t0_c.partnerOwner=t0_c.id)
which is nonsense (what "t0_c.partnerOwner=t0_c.id" is up to?), and in jboss
3.0.4 compiles to
SELECT t0_c.id FROM storecategory t0_c WHERE t0_c.customer IS NULL AND
t0_c.partnerOwner IS NULL
which is OK
c.customer and c.partnerOwner are one-to-many CMRs (one Customer - many
StoreCategories, one PartnerOwner - many StoreCategories).
Why is it so?



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to