I'm just starting out with castor. How can I map objects such as

class Person {
  String name;
  List<Car> cars;
  // getters and setters
}

class Car {
  String licensePlate;
  Person owner;
}

where Person contains List of Cars, and each car has the same Person as
owner? I'd like to know how to create a mapping.xml file that takes care of
this.

-- 
View this message in context: 
http://old.nabble.com/How-to-map-cyclic---recursive-objects--tp26317185p26317185.html
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to