Bruce Snyder:
thank u for ur reply
a simple example:
searchSql += " userID in(select userID from "
+ "databean. UserGroup "
+ " usergroup where groupID in(select
groupID "
+ "from databean.UserGroup usergroup"
+ "where userID = '"+userid+"'))"
how to solve it correctly with JDO
thanks
tanhr
-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 4:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Date: Thu, 24 Jan 2002 13:32:49 +0800
This one time, at band camp, tanhr said:
t >HI
t > I have a question
t > how to select from multi -tables?
t > eg. select o from app.o where id in (select id from app.id where
t >.....)
t >thank u
t >chinadrencher
I don't believe that Castor supports subselects in OQL queries. However,
it may able to be done by mapping your objects in a particular fashion.
Please explain your object model and what you're trying to do and we'll
see if we can help you out.
Bruce
--
perl -e 'print
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev