Steve -
I've had pretty good success with simple uses of count(*) queries to give me
the same result:

SELECT count(*) FROM com.MyObject j WHERE parent.id = $1 

However, I did see issues where the counts weren't always coming back
correctly if the where clause was based on some aspect of a dependent object
contained within MyObject. For straightforward queries, it worked great -

Margaret

-----Original Message-----
From: Steve Stearns [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 5:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Exists clause


On Mon, 2002-09-30 at 16:09, Bruce Snyder wrote:
> Steve,
> 
> The exists keyword is not implemented yet. 

Okay, any idea a rough timeline of when this will be implemented? 
Trying to decide at this point if I'm better off waiting for it, working
around it, or trying to get into the castor code and see if I can figure
out how to make it work myself.

---Steve

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

Reply via email to