You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Jim Theodoridis <ji...@tera.gr> on 2003/02/03 19:33:55 UTC

Mapping Class as a member variable?

Hi to all!

I have a class Address like this

public class Address {
  Private String address;
  Private String zip;
  ......
}


and a class Client like this
 
public class Client {
 ...
 Private Address adress1;
 Private Address adress2;
....
}

How can i map class Client on repository_user.xml to a table Person?
The table Person has the fields for address1 and address2 and for the Client. 




--