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: <query-customizer class="myquerycustomizerclass"> <attribute attribute-name="somthing" attribute-value="value"/> </query-customizer> 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]