Java Mailing List Archive

Home » user.castor »

[castor-user] How to map cyclic / recursive objects?



Replies: Find Java Web Hosting

Author LoginPost Reply

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

Sent from the Castor - User mailing list archive at

To unsubscribe from this list, please visit:

©2008 - Jax Systems, LLC, U.S.A.