I was finally able to get the
following many-to-many query to work using the included mapping
file:
Query:
"select i from " +
HelpItemServiceType.class.getName() + " i where i.items.type = $1"
Mapping:
My mapping table in the database h
cking that castor does determines that an update is necessary.
-- Don
-Original Message-
From: Rainer Mueller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 9:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Any luck with many-to-many queries?
Hello Don!
> For 1)
> I
ab.org/msg00922.html
http://www.mail-archive.com/castor-dev@exolab.org/msg00626.html
-- Don
-Original Message-
From: Bruce Snyder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Any luck with many-to-many queries?
This on
This one time, at band camp, Don DeLuca said:
DD>I have the many-to-many relationships working correctly for my objects, but
DD>I can't generate the correct OQL to use them in a WHERE clause.
Don,
I have two questions for you:
1) What was the problem with getting the many-to-many relations
wor
This one time, at band camp, Rabia Malik said:
RM> required="true" collection="vector">
RM>
RM>
RM>
...
RM>
RM> required="true" collection="vector">
RM>
RM>
RM>
Rabia,
Flip the many-key attributes for the two fields above like so:
ot;Don DeLuca" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 4:20 PM
Subject: [castor-dev] Any luck with many-to-many queries?
> Has anyone had luck building many-to-many filters in OQL?
>
> I have the many-to-many relationships working correctly for m
Has anyone had luck building many-to-many filters in OQL?
I have the many-to-many relationships working correctly for my objects, but
I can't generate the correct OQL to use them in a WHERE clause.
Any help would be greatly appreciated. I've scoured the mailing list and no
one seems to have had