Hi,

I have the following structures :

- ProcessInstanceImpl containing a vector of InterestedUser
- InterestedUser depending on ProcessInstanceImpl 

I want to do a request to find all the ProcessInstances that have the given
user in the vector of vector of InterestedUser.

I tried this :
query = db.getOQLQuery( "SELECT processInstance FROM instance in
com.___...___.ProcessInstanceImpl
WHERE exists user in instance.interestedUsers : user.userId = $1 ");

I have the following error :
org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token type was
found near exists (2, need 0...

Is there a syntax error, or another OQL request to have the expected result
?

Thanks
Ludovic Bertin

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to