You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Marian Skalsky <ms...@euromove.sk> on 2003/02/28 09:33:55 UTC
Criteria - SUBQUERY
Hello!
1) Is there a way how to construct the Criteria object (to avoid usage of
DIRECT SQL) that will perform SELECT from SELECT in the 0.9.7 API?
2) There is "addIn(java.lang.String attribute, Query subQuery)" in the 0.9.9
API.. that is, if I don't miss, the solution for subqueries.. right?
3) Is this subquery feature working properly ? No problems reported ?
Thx a lot!
$kala.
Re: Criteria - SUBQUERY
Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi marian,
subqueries work in ojb with one drawback: ist's not yet possible to
refer to an attribute in the enclosing query.
hth
jakob
Marian Skalsky wrote:
>Hello!
>
>1) Is there a way how to construct the Criteria object (to avoid usage of
>DIRECT SQL) that will perform SELECT from SELECT in the 0.9.7 API?
>
>2) There is "addIn(java.lang.String attribute, Query subQuery)" in the 0.9.9
>API.. that is, if I don't miss, the solution for subqueries.. right?
>
>3) Is this subquery feature working properly ? No problems reported ?
>
>Thx a lot!
>$kala.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
>