Thanks! That does exactly what I need. I forgot about that feature!
These OJB guys have thought of everything!
-Andrew
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 6:18 AM
To: OJB Users List
Subject: RE: Way to do Outer Joins for orderby's in Collection
descriptor?
Not sure if there's an easier way, but you can modify the criteria/query
used in collection descriptors by writing a class that implements
QueryCustomizer. This class can do anything with the
Criteria/QueryByCriteria in use.
Then specify it in your collection-descriptor:
Note you can pass attributes to customizers.
Daniel.
> -Original Message-
> From: Clute, Andrew [mailto:[EMAIL PROTECTED]
> Sent: 13 December 2004 21:33
> To: OJB Users List
> Subject: Way to do Outer Joins for orderby's in Collection descriptor?
>
>
> When you define an orderby clause inside a collection descriptor, it
> seems to default to doing an INNER JOIN.
>
> I know about the ability to do the QueryByCriteria.setPathOuterJoin,
> but that is assuming you have a criteria. How do you, or is it even
> possible, to set that path for order by statements inside of
> collection descriptor?
>
> Thanks!
>
> -Andrew
>
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]