Paul, yes, Castor currently uses outer joins to fetch objects associated as part of a 1:M relation. This is done so that all records from the 'one' leg of the association are returned when there are no associated objects on the 'M' side.
Regards Werner On Thu, 5 May 2005 19:11:40 +0800, PAUL CHAN NCSI HK NCS wrote: >Hi All, > >Does Castor JDO use Out Join to retrieve One-To-Many table records? >Can Castor JDO use Inner Join to retrieve One-To-Many table records? > >I found some method stated at javadoc > >http://www.jdocs.com/castor/0.9.5.3/api/org/exolab/castor/persist/spi/QueryE >xpression.html >addInnerJoin method?? >addOuterJoin method?? >Does it mean that Castor JDO can user inner join to retrieve one-to-many >table records? > > >Paul >

