Sure, feel free to do so. Question: would you be willing to work with us to get this implemented ? If so, there's two possible pathes:

a) add this feature(s) to existing code
b) rewrite the existing OQP parser and the code area that is responsible for producing SQL statements from an OQL tree.

As far as I remember, we are actually putting forward a project proposal with Google Summer of Code 2008 for this, but slots for the Codehaus as a mentoring organisation are limited.

Regards
Werner

Jon Wilmoth wrote:
Hey Ralf,

Thanks for the quick response.  Should i open a JIRA ticket for this desired 
functionality?

Jon

----- Original Message ----
From: Ralf Joachim <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, March 11, 2008 10:20:04 AM
Subject: Re: [castor-user] [JDO] OQL for filters based on 1:M foriegn key 
objects?

Hi Jon,

this not supported yet by castor.

Regards
Ralf


Jon Wilmoth schrieb:
I'd like to know if the following is currently supported (v1.2).  I have an 
object structure that looks like the Book/Author scenario below.  I'd like to 
query the Author object where the list of books is greater than one (i.e. there 
is atleast one record in the book table that points back to that author 
record).  I've looked through the OQL/JDO docs online and couldn't figure out 
if it was supported in this release or not (http://www.castor.org/oql.html 
shows news from 0.9.6).

Book
- Long id;
- Author author;

Author
- Long id;
- String name;
- List<Book> books;

Thanks,
Jon

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to